]> 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 11:59:22 +0000 (11:59 +0000)
committerjfa <jfa@opencascade.com>
Tue, 20 Jan 2009 11:59:22 +0000 (11:59 +0000)
src/SMESHGUI/SMESHGUI_MeshOp.cxx

index b79e37df059a65b3b8fcb3319b0a89b5cbd47570..d511701400528d9486e37e7ff56105ee65ba402e 100644 (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 );