mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Fixed platform physics. CURA-4525
This commit is contained in:
parent
4b5097f998
commit
c05e6b43ff
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class PlatformPhysics:
|
|||
|
||||
random.shuffle(nodes)
|
||||
for node in nodes:
|
||||
if node is root or type(node) is not SceneNode or node.getBoundingBox() is None:
|
||||
if node is root or not issubclass(type(node), SceneNode) or node.getBoundingBox() is None:
|
||||
continue
|
||||
|
||||
bbox = node.getBoundingBox()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue