Issue 19925: Fix bug with 2d mesh preview

This commit is contained in:
vsr 2009-02-20 15:00:02 +00:00
parent e7c421ee2a
commit 751f23b3e0

View File

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