Salome HOME
0021375: EDF 1671 SMESH: Dump study of current state
[modules/smesh.git] / src / SMESH_I / SMESH_2smeshpy.cxx
index 868d62fd69a62ff9f942ea3a32a84472d8ecf229..ea012abc4192b61600fb051aa6ec5d36b6788d43 100644 (file)
@@ -1549,6 +1549,10 @@ void _pyMesh::Flush()
         algo = newAlgo;
         // set algorithm creation
         theGen->SetCommandBefore( newCmd, addCmd );
+        myHypos.push_back( newAlgo );
+        if ( !myLastComputeCmd.IsNull() &&
+             newCmd->GetOrderNb() == myLastComputeCmd->GetOrderNb() + 1)
+          newAlgo->MeshComputed( myLastComputeCmd );
       }
       else
         newCmd->Clear();