Salome HOME
Split of seq/par compute in gen
authorYoann Audouin <yoann.audouin@edf.fr>
Wed, 28 Sep 2022 12:18:32 +0000 (14:18 +0200)
committerYoann Audouin <yoann.audouin@edf.fr>
Tue, 18 Oct 2022 13:02:19 +0000 (15:02 +0200)
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 );
   }