- bool isMesh = true; // EAP - it's sometimes necessary to copy to a new mesh
- // for ( int i = 0; i < ids.count() && isMesh; ++i )
- // {
- // _PTR(SObject) sobj =
- // SMESHGUI::activeStudy()->studyDS()->FindObjectID( ids[i].toLatin1().constData() );
- // mySrcMesh = SMESH::SObjectToInterface<SMESH::SMESH_Mesh>( sobj );
- // isMesh = !mySrcMesh->_is_nil();
- // }
+ bool isMesh = true;
+ for ( int i = 0; i < ids.count() && isMesh; ++i )
+ {
+ _PTR(SObject) sobj =
+ SMESHGUI::activeStudy()->studyDS()->FindObjectID( ids[i].toLatin1().constData() );
+ mySrcMesh = SMESH::SObjectToInterface<SMESH::SMESH_Mesh>( sobj );
+ //isMesh = !mySrcMesh->_is_nil(); // EAP - it's sometimes necessary to copy to a new mesh
+ }