From 975d5ce014dd39e2af90e059a4b03f5a4fec415c Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 24 Apr 2008 12:50:31 +0000 Subject: [PATCH] in GetAvailableHypotheses(), checkGeometry only for algorithms --- src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;