EgtGraphics 2.1b3 :
- modifiche per cambio interfaccia Zmap e SurfTm.
This commit is contained in:
@@ -188,6 +188,25 @@ ObjMultiGraphics::GetLocalBBox( BBox3d& b3Loc) const
|
||||
return ! m_b3Loc.IsEmpty() ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
ObjMultiGraphics::SetCounter( int nCnt)
|
||||
{
|
||||
if ( m_nCurr < 0 || m_nCurr >= int( m_vOEGR.size()))
|
||||
return false ;
|
||||
m_Counter[m_nCurr] = nCnt ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
int
|
||||
ObjMultiGraphics::GetCounter( void) const
|
||||
{
|
||||
if ( m_nCurr < 0 || m_nCurr >= int( m_vOEGR.size()))
|
||||
return -1 ;
|
||||
return m_Counter[m_nCurr] ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
ObjMultiGraphics::ObjMultiGraphics( int nCount, bool bNewWay)
|
||||
{
|
||||
@@ -200,5 +219,6 @@ ObjMultiGraphics::ObjMultiGraphics( int nCount, bool bNewWay)
|
||||
else
|
||||
m_vOEGR.emplace_back( new( nothrow) ObjOldGraphics) ;
|
||||
}
|
||||
m_Counter.resize( nCount, 0) ;
|
||||
m_nCurr = - 1 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user