]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021375: EDF 1671 SMESH: Dump study of current state
authoreap <eap@opencascade.com>
Thu, 9 Feb 2012 16:42:07 +0000 (16:42 +0000)
committereap <eap@opencascade.com>
Thu, 9 Feb 2012 16:42:07 +0000 (16:42 +0000)
  correctly treat a false algorithm created by _pyMesh::Flush()

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();