Fix bug 0020138: EDF SMESH : Impossible to create (n)D mesh after creating (n+1)D mesh.

This commit is contained in:
jfa 2009-01-20 11:59:22 +00:00
parent aa07f04002
commit 8e93201bcf

View File

@ -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 ); myDlg->setMaxHypoDim( shapeDim );