From 751f23b3e0c675ba1c542649f03bae7f1610862d Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 20 Feb 2009 15:00:02 +0000 Subject: [PATCH] Issue 19925: Fix bug with 2d mesh preview --- src/SMESHGUI/SMESHGUI_ComputeDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } } -- 2.39.2