in GetAvailableHypotheses(), checkGeometry only for algorithms

This commit is contained in:
eap 2008-04-24 12:50:31 +00:00
parent 036639c859
commit 975d5ce014

View 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;