]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the issue #1791: recompute the projection results even if just sketch plane...
authormpv <mpv@opencascade.com>
Tue, 27 Sep 2016 13:13:36 +0000 (16:13 +0300)
committermpv <mpv@opencascade.com>
Tue, 27 Sep 2016 13:13:36 +0000 (16:13 +0300)
src/SketchPlugin/SketchPlugin_Projection.cpp

index 85dade4280451efbcb8cefba8724157a992674d5..ac8b5679743382f6c05902e76c437ee3fe34e6e0 100644 (file)
@@ -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)