Salome HOME
small improvement of API
[modules/smesh.git] / src / SMESH / SMESH_subMesh.cxx
index 2c6e5e7e0e16a03faf56a96325bfb852efa987bc..af4e614a8706ebb1f26b2a2500b10607ab893db9 100644 (file)
@@ -1804,9 +1804,9 @@ void SMESH_subMesh::updateSubMeshState(const compute_state theState)
 //purpose  :
 //=======================================================================
 
-void SMESH_subMesh::ComputeSubMeshStateEngine(int event)
+void SMESH_subMesh::ComputeSubMeshStateEngine(int event, const bool includeSelf)
 {
-  SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(false,false);
+  SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(includeSelf,false);
   while ( smIt->more() )
     smIt->next()->ComputeStateEngine(event);
 }