Dump of compute now also checking isDone

This commit is contained in:
YOANN AUDOUIN 2023-09-11 08:09:40 +02:00
parent 1dab7a05bb
commit a1fec70458

View File

@ -2079,6 +2079,7 @@ CORBA::Boolean SMESH_Gen_i::Compute( SMESH::SMESH_Mesh_ptr theMesh,
// Update Python script // Update Python script
TPythonDump(this) << "isDone = " << this << ".Compute( " TPythonDump(this) << "isDone = " << this << ".Compute( "
<< theMesh << ", " << theShapeObject << ")"; << theMesh << ", " << theShapeObject << ")";
TPythonDump(this) << "if not isDone: \n raise Exception(\"Issue while computing Mesh\")";
try { try {
// get mesh servant // get mesh servant