Skip to content

Commit

Permalink
fixes #3161: Shape Binder not at expected place
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Sep 19, 2017
1 parent 0681f49 commit 3058b0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Mod/PartDesign/App/ShapeBinder.cpp
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 3058b0c

Please sign in to comment.