]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix regressions after resolving issue #19890
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Wed, 16 Sep 2020 07:44:35 +0000 (10:44 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Wed, 16 Sep 2020 07:44:35 +0000 (10:44 +0300)
src/Model/Model_ResultPart.cpp

index 51d8879bd4265946b869c31db4ab0f4bd05ef60f..7c42dd987e0148edfc40ce12a2d3d543fe67f00f 100644 (file)
@@ -202,6 +202,7 @@ std::shared_ptr<GeomAPI_Shape> Model_ResultPart::shape()
         GeomTrsfPtr aTrsf = std::make_shared<GeomAPI_Trsf>(new gp_Trsf(*myTrsf));
         GeomAlgoAPI_Transform aTransform(anOrigShape, aTrsf);
         aResult = aTransform.shape();
+        myShape = aResult->impl<TopoDS_Shape>();
       }
       if (!myShape.IsNull() && aToSendUpdate) {
         static const Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_UPDATED);