From c9fb691afe6c1c441bb72b726a278764a3ac4030 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 19 Sep 2017 15:01:13 +0200 Subject: [PATCH] fixes #0003161: Shape Binder not at expected place --- src/Mod/PartDesign/App/ShapeBinder.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Mod/PartDesign/App/ShapeBinder.cpp b/src/Mod/PartDesign/App/ShapeBinder.cpp index f1687779e8..25720172a6 100644 --- a/src/Mod/PartDesign/App/ShapeBinder.cpp +++ b/src/Mod/PartDesign/App/ShapeBinder.cpp @@ -67,8 +67,10 @@ App::DocumentObjectExecReturn* ShapeBinder::execute(void) { ShapeBinder::getFilteredReferences(&Support, obj, subs); //if we have a link we rebuild the shape, but we change nothing if we are a simple copy if(obj) { - Shape.setValue(ShapeBinder::buildShapeFromReferences(obj, subs).getShape()); - Placement.setValue(obj->Placement.getValue()); + Part::TopoShape shape = ShapeBinder::buildShapeFromReferences(obj, subs); + Base::Placement placement(shape.getTransform()); + Shape.setValue(shape); + Placement.setValue(placement); } }