From: mpv Date: Tue, 27 Sep 2016 13:13:36 +0000 (+0300) Subject: Fix for the issue #1791: recompute the projection results even if just sketch plane... X-Git-Tag: V_2.5.1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5a3893c9743dba1b09eb39123d308995bbbd94c0;p=modules%2Fshaper.git Fix for the issue #1791: recompute the projection results even if just sketch plane was changed. --- 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)