fixes #0003161: Shape Binder not at expected place

This commit is contained in:
wmayer
2017-09-19 15:01:13 +02:00
parent f2e45423eb
commit c9fb691afe

View File

@@ -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);
}
}