From: YOANN AUDOUIN Date: Mon, 11 Sep 2023 06:09:40 +0000 (+0200) Subject: Dump of compute now also checking isDone X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1fec70458e1a3aff0648fee50796d220003cc9a;p=modules%2Fsmesh.git Dump of compute now also checking isDone --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 81dcf5a37..8d380c6da 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -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