Salome HOME
PAL13409: EDF282 SMESH: Tetrahedron is added if we specify Mefisto.
authorjfa <jfa@opencascade.com>
Fri, 8 Sep 2006 11:18:59 +0000 (11:18 +0000)
committerjfa <jfa@opencascade.com>
Fri, 8 Sep 2006 11:18:59 +0000 (11:18 +0000)
src/SMESHGUI/SMESHGUI_MeshOp.cxx

index dea4404..111c594 100644 (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 );