]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1058: Crash when creating a distance between source and translated elements
authorazv <azv@opencascade.com>
Tue, 11 Apr 2017 12:26:04 +0000 (15:26 +0300)
committerazv <azv@opencascade.com>
Tue, 11 Apr 2017 12:26:04 +0000 (15:26 +0300)
Show message about circular dependency for translated/rotated elements

src/SketchSolver/SketchSolver_ConstraintMulti.cpp

index 53d5b9e7fd9e5e46e0e5bde40549aa3713911d60..41289a7fb34bd5709e1e5beda660fb8f5a974c9d 100644 (file)
@@ -168,6 +168,10 @@ void SketchSolver_ConstraintMulti::adjustConstraint()
             std::dynamic_pointer_cast<GeomDataAPI_Point2D>(*aPtIt);
         aPoint2D->setValue(aXCoord, aYCoord);
       }
+
+      // update transformed entity if it exists in the storage
+      if (myStorage->entity(aFeature))
+        myStorage->update(aFeature);
     }
   }