mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Revert "Remove convex hull computation when not required"
This reverts commit ab22611ecf
.
This commit is contained in:
parent
80a8d863d6
commit
e4a6b8dd91
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,10 @@ class PlatformPhysics:
|
|||
z_offset = node.callDecoration("getZOffset") if node.getDecorator(ZOffsetDecorator.ZOffsetDecorator) else 0
|
||||
move_vector = move_vector.set(y = -bbox.bottom + z_offset)
|
||||
|
||||
# If there is no convex hull for the node, start calculating it and continue.
|
||||
if not node.getDecorator(ConvexHullDecorator) and not node.callDecoration("isNonPrintingMesh"):
|
||||
node.addDecorator(ConvexHullDecorator())
|
||||
|
||||
# only push away objects if this node is a printing mesh
|
||||
if not node.callDecoration("isNonPrintingMesh") and app_automatic_push_free:
|
||||
# Do not move locked nodes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue