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

@ -2078,7 +2078,8 @@ 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) << "if not isDone: \n raise Exception(\"Issue while computing Mesh\")";
try {
// get mesh servant