PAL13409: EDF282 SMESH: Tetrahedron is added if we specify Mefisto.

This commit is contained in:
jfa 2006-09-08 11:18:59 +00:00
parent 31282d8886
commit ffd567ddfa

View File

@ -1020,7 +1020,7 @@ void SMESHGUI_MeshOp::onAlgoSelected( const int theIndex,
// restore previously selected algo
algoIndex = myAvailableHypData[dim][Algo].findIndex( curAlgo );
if ( !isSubmesh && algoIndex < 0 && soleCompatible )
if ( !isSubmesh && algoIndex < 0 && soleCompatible && !forward )
// select the sole compatible algo
algoIndex = myAvailableHypData[dim][Algo].findIndex( soleCompatible );
setCurrentHyp( dim, Algo, algoIndex );