From 53301428650c668276d219b0564d2ae82e82c5b0 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 11 Apr 2017 15:26:04 +0300 Subject: [PATCH] Issue #1058: Crash when creating a distance between source and translated elements Show message about circular dependency for translated/rotated elements --- src/SketchSolver/SketchSolver_ConstraintMulti.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SketchSolver/SketchSolver_ConstraintMulti.cpp b/src/SketchSolver/SketchSolver_ConstraintMulti.cpp index 53d5b9e7f..41289a7fb 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMulti.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintMulti.cpp @@ -168,6 +168,10 @@ void SketchSolver_ConstraintMulti::adjustConstraint() std::dynamic_pointer_cast(*aPtIt); aPoint2D->setValue(aXCoord, aYCoord); } + + // update transformed entity if it exists in the storage + if (myStorage->entity(aFeature)) + myStorage->update(aFeature); } } -- 2.39.2