Salome HOME
in GetAvailableHypotheses(), checkGeometry only for algorithms
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_HypothesesUtils.cxx
index 6a393a25404cc2ae021d72e3d33eae05738d9fd9..7c03c4edfe29426d81bfe15b47a7caf5503b5cce 100644 (file)
@@ -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;