Salome HOME
Bug IPAL22895: TC6.5.0: representation preferences for mesh - shrink does not work
authorouv <ouv@opencascade.com>
Tue, 17 Apr 2012 09:28:25 +0000 (09:28 +0000)
committerouv <ouv@opencascade.com>
Tue, 17 Apr 2012 09:28:25 +0000 (09:28 +0000)
src/VISU_I/VISU_Mesh_i.cc

index f9fc50be6757007a3eaa7e38d347f151bde971ac..e6fc4b6da4e909c7e25749f13eb4d64f2fc95bb6 100644 (file)
@@ -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;