From 3324206404d15fc323bb9d5d96b51b9d870ae364 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 6 Dec 2006 15:20:18 +0000 Subject: [PATCH] PAL13473 (Build repetitive mesh): 1) show the reason why a mesher lib is not loaded in DEBUG mode 2) treat a new algo error --- src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.39.2