mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Do not try to perform platform physics movement when there is no bounding box
This commit is contained in:
parent
d650cbe26c
commit
cfe29a7b51
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ class PlatformPhysics:
|
|||
continue
|
||||
|
||||
bbox = node.getBoundingBox()
|
||||
if not bbox or not bbox.isValid():
|
||||
continue
|
||||
|
||||
if not Float.fuzzyCompare(bbox.bottom, 0.0):
|
||||
self._signal_source = node
|
||||
op = PlatformPhysicsOperation(node, Vector(0, -bbox.bottom, 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue