From: nds Date: Thu, 5 May 2016 11:18:52 +0000 (+0300) Subject: Projection operation prs should use as attribute selected shape. X-Git-Tag: V_2.3.0~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=24f130ac94898ff587b5516da4606ca82e697d61;p=modules%2Fshaper.git Projection operation prs should use as attribute selected shape. --- diff --git a/src/SketchPlugin/SketchPlugin_Projection.cpp b/src/SketchPlugin/SketchPlugin_Projection.cpp index 5cccf4c2b..36df5bb1e 100644 --- a/src/SketchPlugin/SketchPlugin_Projection.cpp +++ b/src/SketchPlugin/SketchPlugin_Projection.cpp @@ -193,7 +193,7 @@ void SketchPlugin_Projection::computeProjection(const std::string& theID) } if (theID == EXTERNAL_FEATURE_ID()) { - selection(EXTERNAL_ID())->setValue(aExtFeature->context(), aExtFeature->context()->shape()); + selection(EXTERNAL_ID())->setValue(aExtFeature->context(), aExtFeature->value()); if (aResult) { aResult->setShape(aProjection->lastResult()->shape());