]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix bug 0020138: EDF SMESH : Impossible to create (n)D mesh after creating (n+1)D...
authorjfa <jfa@opencascade.com>
Tue, 20 Jan 2009 13:06:02 +0000 (13:06 +0000)
committerjfa <jfa@opencascade.com>
Tue, 20 Jan 2009 13:06:02 +0000 (13:06 +0000)
src/SMESHGUI/SMESHGUI_MeshOp.cxx

index 46398bc08dd16490f884cb0f687953c794e8ccf2..9128339be2ce509ce361d06c1b3bd40f5e561013 100644 (file)
@@ -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 );