From 5a3893c9743dba1b09eb39123d308995bbbd94c0 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 27 Sep 2016 16:13:36 +0300 Subject: [PATCH] Fix for the issue #1791: recompute the projection results even if just sketch plane was changed. --- src/SketchPlugin/SketchPlugin_Projection.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SketchPlugin/SketchPlugin_Projection.cpp b/src/SketchPlugin/SketchPlugin_Projection.cpp index 85dade428..ac8b56797 100644 --- a/src/SketchPlugin/SketchPlugin_Projection.cpp +++ b/src/SketchPlugin/SketchPlugin_Projection.cpp @@ -66,6 +66,10 @@ void SketchPlugin_Projection::execute() aProjection->selection(EXTERNAL_ID())->setValue(lastResult(), lastResult()->shape()); } + + // is sketch plane is changed (issue 1791), attribute of projection is not changed, but + // projection must be fully recomputed + computeProjection(EXTERNAL_FEATURE_ID()); } void SketchPlugin_Projection::move(double theDeltaX, double theDeltaY) -- 2.39.2