From: jfa Date: Tue, 20 Jan 2009 11:59:22 +0000 (+0000) Subject: Fix bug 0020138: EDF SMESH : Impossible to create (n)D mesh after creating (n+1)D... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e93201bcf959a3355c84d17a6a10d52d0a7114e;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 b79e37df0..d51170140 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -543,6 +543,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 );