Salome HOME
Split of seq/par compute in gen
[modules/smesh.git] / src / SMESH / SMESH_Gen.cxx
index f61acd5f9e6d57b4c3932e43f34f66cd1af43744..f2e4e0d9f6e9a3b493f37cc481698a85925490f0 100644 (file)
@@ -184,9 +184,9 @@ const std::function<void(int,
   if (sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
   {
     sm->SetAllowedSubShapes( fillAllowed( shapeSM, aShapeOnly, allowedSubShapes ));
-    //setCurrentSubMesh( sm );
+    setCurrentSubMesh( sm );
     sm->ComputeStateEngine(event);
-    //setCurrentSubMesh( nullptr );
+    setCurrentSubMesh( nullptr );
     sm->SetAllowedSubShapes( nullptr );
   }