]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fixed the issue with "modification of data outside of transaction" when sketch is...
authormpv <mpv@opencascade.com>
Thu, 24 Dec 2015 11:57:10 +0000 (14:57 +0300)
committermpv <mpv@opencascade.com>
Thu, 24 Dec 2015 11:57:10 +0000 (14:57 +0300)
src/Model/Model_ResultCompSolid.cpp

index 9022902982baa17301b3f14d8b5303f8c96f3320..e66ba2d3084ea26e511ab0bde2caa1dc8b35fc66 100755 (executable)
@@ -151,8 +151,10 @@ void Model_ResultCompSolid::setIsConcealed(const bool theValue)
       }
     }
     ModelAPI_ResultCompSolid::setIsConcealed(theValue);
+    // to set correct myLastConcealed
+    isConcealed();
   }
-  myLastConcealed = theValue;
+  //myLastConcealed = theValue;
 }
 
 void Model_ResultCompSolid::updateSubs(const std::shared_ptr<GeomAPI_Shape>& theThisShape)