mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
in GetAvailableHypotheses(), checkGeometry only for algorithms
This commit is contained in:
parent
036639c859
commit
975d5ce014
@ -218,7 +218,7 @@ namespace SMESH{
|
|||||||
|
|
||||||
// Init list of available hypotheses, if needed
|
// Init list of available hypotheses, if needed
|
||||||
InitAvailableHypotheses();
|
InitAvailableHypotheses();
|
||||||
bool checkGeometry = !isNeedGeometry;
|
bool checkGeometry = ( !isNeedGeometry && isAlgo );
|
||||||
// fill list of hypotheses/algorithms
|
// fill list of hypotheses/algorithms
|
||||||
THypothesisDataMap* pMap = isAlgo ? &myAlgorithmsMap : &myHypothesesMap;
|
THypothesisDataMap* pMap = isAlgo ? &myAlgorithmsMap : &myHypothesesMap;
|
||||||
THypothesisDataMap::iterator anIter;
|
THypothesisDataMap::iterator anIter;
|
||||||
|
Loading…
Reference in New Issue
Block a user