bool IFaceposerModels::IsModelShownIn3DView( int modelindex ) { CFacePoserModel *m = GetEntry( modelindex ); if ( !m ) return false; return m->GetVisibleIn3DView(); }
int IFaceposerModels::CountVisibleModels( void ) { int num = 0; int c = Count(); for ( int i = 0; i < c; i++ ) { CFacePoserModel *m = GetEntry( i ); if ( !m ) continue; if ( m->GetVisibleIn3DView() ) { num++; } } return num; }