From a1fec70458e1a3aff0648fee50796d220003cc9a Mon Sep 17 00:00:00 2001 From: YOANN AUDOUIN Date: Mon, 11 Sep 2023 08:09:40 +0200 Subject: [PATCH] Dump of compute now also checking isDone --- src/SMESH_I/SMESH_Gen_i.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2