From: jfa Date: Fri, 8 Sep 2006 11:18:59 +0000 (+0000) Subject: PAL13409: EDF282 SMESH: Tetrahedron is added if we specify Mefisto. X-Git-Tag: V3_2_3pre1~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ffd567ddfa3eae0e41303e5c462c3bbe66065e32;p=modules%2Fsmesh.git PAL13409: EDF282 SMESH: Tetrahedron is added if we specify Mefisto. --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index dea440472..111c5944f 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -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 );