Salome HOME
Compute also dump a check on isDone through function CheckCompute
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index f1180652ea7fe3446f749fa77fd40e005f867e49..57573399df05d20168e655563f62139cf5a9700a 100644 (file)
@@ -2078,7 +2078,9 @@ CORBA::Boolean SMESH_Gen_i::Compute( SMESH::SMESH_Mesh_ptr theMesh,
 
   // Update Python script
   TPythonDump(this) << "isDone = " << this << ".Compute( "
-                << theMesh << ", " << theShapeObject << ")";
+                    << theMesh << ", " << theShapeObject << ")";
+  TPythonDump(this) << this << ".CheckCompute( "
+                    << theMesh << ", isDone" << ")";
 
   try {
     // get mesh servant