From 8e93201bcf959a3355c84d17a6a10d52d0a7114e Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 20 Jan 2009 11:59:22 +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 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 ); -- 2.39.2