diff --git a/src/Mod/PartDesign/App/FeatureBoolean.cpp b/src/Mod/PartDesign/App/FeatureBoolean.cpp index 85708c5d12..e7db82a458 100644 --- a/src/Mod/PartDesign/App/FeatureBoolean.cpp +++ b/src/Mod/PartDesign/App/FeatureBoolean.cpp @@ -233,10 +233,9 @@ void Boolean::updatePreviewShape() std::vector shapes; for (auto& obj : Group.getValues()) { - auto shape - = getTopoShape(obj, Part::ShapeOption::ResolveLink | Part::ShapeOption::Transform); - shape.setPlacement(shape.getPlacement().inverse() * globalPlacement()); - shapes.push_back(shape); + shapes.push_back( + getTopoShape(obj, Part::ShapeOption::ResolveLink | Part::ShapeOption::Transform) + ); } TopoShape result; diff --git a/src/Mod/PartDesign/Gui/ViewProviderBoolean.cpp b/src/Mod/PartDesign/Gui/ViewProviderBoolean.cpp index d994fc0043..3bb4cfe0de 100644 --- a/src/Mod/PartDesign/Gui/ViewProviderBoolean.cpp +++ b/src/Mod/PartDesign/Gui/ViewProviderBoolean.cpp @@ -168,7 +168,6 @@ void ViewProviderBoolean::updatePreview() } Part::TopoShape toolShape = feature->Shape.getShape(); - toolShape.setPlacement(toolShape.getPlacement().inverse() * feature->globalPlacement()); auto pcToolPreview = new PartGui::SoPreviewShape; updatePreviewShape(toolShape, pcToolPreview);