]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
in GetAvailableHypotheses(), checkGeometry only for algorithms V4_1_2rc2
authoreap <eap@opencascade.com>
Thu, 24 Apr 2008 12:50:31 +0000 (12:50 +0000)
committereap <eap@opencascade.com>
Thu, 24 Apr 2008 12:50:31 +0000 (12:50 +0000)
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;