From: jfa Date: Tue, 20 Jan 2009 13:06:02 +0000 (+0000) Subject: Fix bug 0020138: EDF SMESH : Impossible to create (n)D mesh after creating (n+1)D... X-Git-Tag: V4_1_5rc1~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d10c9024949f322356d752a3647effd12b219f85;p=modules%2Fsmesh.git Fix bug 0020138: EDF SMESH : Impossible to create (n)D mesh after creating (n+1)D mesh. --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index 46398bc08..9128339be 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -534,6 +534,10 @@ void SMESHGUI_MeshOp::selectionDone() } } } + for (int i = SMESH::DIM_3D; i > shapeDim; i--) { + // reset algos before disabling tabs (0020138) + onAlgoSelected(-1, i); + } myDlg->setMaxHypoDim( shapeDim );