From d10c9024949f322356d752a3647effd12b219f85 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 20 Jan 2009 13:06:02 +0000 Subject: [PATCH] Fix bug 0020138: EDF SMESH : Impossible to create (n)D mesh after creating (n+1)D mesh. --- src/SMESHGUI/SMESHGUI_MeshOp.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 ); -- 2.39.2