Salome HOME
Issue 19925: Fix bug with 2d mesh preview
authorvsr <vsr@opencascade.com>
Fri, 20 Feb 2009 15:00:02 +0000 (15:00 +0000)
committervsr <vsr@opencascade.com>
Fri, 20 Feb 2009 15:00:02 +0000 (15:00 +0000)
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx

index 147a6a4..4645307 100644 (file)
@@ -1660,7 +1660,7 @@ void SMESHGUI_PrecomputeOp::initDialog()
         {
           algo = SMESH::SMESH_2D_Algo::_narrow( aVar );
           if ( !algo->_is_nil() )
-            modeMap[ SMESH::DIM_2D ] = 0;
+            modeMap[ SMESH::DIM_1D ] = 0;
         }
       }
     }