From: eap Date: Wed, 6 Dec 2006 15:20:18 +0000 (+0000) Subject: PAL13473 (Build repetitive mesh): X-Git-Tag: V3_2_4pre1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3324206404d15fc323bb9d5d96b51b9d870ae364;p=modules%2Fsmesh.git PAL13473 (Build repetitive mesh): 1) show the reason why a mesher lib is not loaded in DEBUG mode 2) treat a new algo error --- diff --git a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx index 9772724e6..2a0d4e152 100644 --- a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx @@ -324,7 +324,7 @@ namespace SMESH{ if (!libHandle) { // report any error, if occured const char* anError = dlerror(); - if(MYDEBUG) MESSAGE(anError); + MESSAGE(anError); } else { // get method, returning hypothesis creator @@ -594,6 +594,7 @@ namespace SMESH{ CASE2MESSAGE( MISSING_ALGO ); CASE2MESSAGE( MISSING_HYPO ); CASE2MESSAGE( NOT_CONFORM_MESH ); + CASE2MESSAGE( BAD_PARAM_VALUE ); default: continue; } // apply args to message: