From: eap Date: Thu, 24 Apr 2008 12:50:31 +0000 (+0000) Subject: in GetAvailableHypotheses(), checkGeometry only for algorithms X-Git-Tag: V4_1_2rc2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=975d5ce014dd39e2af90e059a4b03f5a4fec415c;p=modules%2Fsmesh.git in GetAvailableHypotheses(), checkGeometry only for algorithms --- diff --git a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx index 6a393a254..7c03c4edf 100644 --- a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx @@ -218,7 +218,7 @@ namespace SMESH{ // Init list of available hypotheses, if needed InitAvailableHypotheses(); - bool checkGeometry = !isNeedGeometry; + bool checkGeometry = ( !isNeedGeometry && isAlgo ); // fill list of hypotheses/algorithms THypothesisDataMap* pMap = isAlgo ? &myAlgorithmsMap : &myHypothesesMap; THypothesisDataMap::iterator anIter;