From: vsr Date: Fri, 20 Feb 2009 15:00:02 +0000 (+0000) Subject: Issue 19925: Fix bug with 2d mesh preview X-Git-Tag: V5_1_1a2~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=751f23b3e0c675ba1c542649f03bae7f1610862d;p=modules%2Fsmesh.git Issue 19925: Fix bug with 2d mesh preview --- diff --git a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx index 147a6a464..464530734 100644 --- a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx @@ -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; } } }