PartDesign: Fix misplaced preview for Boolean operation
This commit is contained in:
committed by
Chris Hennes
parent
54535e072e
commit
e8aeffc096
@@ -186,7 +186,9 @@ void Boolean::updatePreviewShape()
|
||||
std::vector<TopoShape> shapes;
|
||||
|
||||
for (auto& obj : Group.getValues()) {
|
||||
shapes.push_back(getTopoShape(obj, Part::ShapeOption::ResolveLink | Part::ShapeOption::Transform));
|
||||
auto shape = getTopoShape(obj, Part::ShapeOption::ResolveLink | Part::ShapeOption::Transform);
|
||||
shape.setPlacement(shape.getPlacement().inverse() * globalPlacement());
|
||||
shapes.push_back(shape);
|
||||
}
|
||||
|
||||
TopoShape result;
|
||||
|
||||
Reference in New Issue
Block a user