From: ouv Date: Tue, 17 Apr 2012 09:28:25 +0000 (+0000) Subject: Bug IPAL22895: TC6.5.0: representation preferences for mesh - shrink does not work X-Git-Tag: TRIPOLI_323~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3fa2ba0184c3f64fd64ff3b6b73af3725ea65208;p=modules%2Fvisu.git Bug IPAL22895: TC6.5.0: representation preferences for mesh - shrink does not work --- diff --git a/src/VISU_I/VISU_Mesh_i.cc b/src/VISU_I/VISU_Mesh_i.cc index f9fc50be..e6fc4b6d 100644 --- a/src/VISU_I/VISU_Mesh_i.cc +++ b/src/VISU_I/VISU_Mesh_i.cc @@ -195,7 +195,7 @@ VISU::Mesh_i throw std::runtime_error("Mesh_i::Build - GetCResult()->GetInput() == NULL !!!"); if (!theRestoring) { myPresentType = VISU::PresentationType(VISU::GetResourceMgr()->integerValue("VISU" , "mesh_represent", 2)); - myIsShrank = (myPresentType == VISU::SHRINK); + myIsShrank |= (myPresentType == VISU::SHRINK); if(myEntity == VISU::NODE_ENTITY) myPresentType = VISU::POINT;