Salome HOME
Projection operation prs should use as attribute selected shape.
authornds <nds@opencascade.com>
Thu, 5 May 2016 11:18:52 +0000 (14:18 +0300)
committernds <nds@opencascade.com>
Thu, 5 May 2016 11:18:52 +0000 (14:18 +0300)
src/SketchPlugin/SketchPlugin_Projection.cpp

index 5cccf4c2bad3ed7b5be4c778e7eb6fe502da12a5..36df5bb1e27395b970d297e6ac7a5d35bc548026 100644 (file)
@@ -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());