Salome HOME
INT PAL 0013201: Error during edit mesh
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshOp.cxx
index ba2b35ba171df7d3e257ad1d01b6b69e45fa8004..0b4c1eafc67d3753614e943d80bb4576d9e41b52 100644 (file)
@@ -2377,7 +2377,7 @@ bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess )
   // First, remove old algos in order to avoid messages on algorithm hiding
   for ( int dim = aDim; dim <= SMESH::DIM_3D; dim++ )
   {
-    if ( isAccessibleDim( dim ) && myObjHyps[ dim ][ Algo ].count() > 0 )
+    if ( /*isAccessibleDim( dim ) &&*/ myObjHyps[ dim ][ Algo ].count() > 0 )
     {
       SMESH::SMESH_Hypothesis_var anOldAlgo = myObjHyps[ dim ][ Algo ].first().first;
       SMESH::SMESH_Hypothesis_var anAlgoVar = getAlgo( dim );