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 147a6a46403c70757003e42ea855c45e591584f8..4645307341fbe4d4a0f696768d1f2ceec7f28d83 100644 (file)
@@ -1660,7 +1660,7 @@ void SMESHGUI_PrecomputeOp::initDialog()
         {
           algo = SMESH::SMESH_2D_Algo::_narrow( aVar );
           if ( !algo->_is_nil() )
         {
           algo = SMESH::SMESH_2D_Algo::_narrow( aVar );
           if ( !algo->_is_nil() )
-            modeMap[ SMESH::DIM_2D ] = 0;
+            modeMap[ SMESH::DIM_1D ] = 0;
         }
       }
     }
         }
       }
     }