Merge branch 'per-object-autodropdown' of github.com:Piezoid/Cura

This commit is contained in:
Jaime van Kessel 2022-09-14 14:46:08 +02:00
commit 3400210f9b
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4
2 changed files with 9 additions and 4 deletions

View file

@ -1447,7 +1447,7 @@ class CuraApplication(QtApplication):
bounding_box = node.getBoundingBox()
if bounding_box is None or bounding_box.width < self._volume.getBoundingBox().width or bounding_box.depth < self._volume.getBoundingBox().depth:
# Arrange only the unlocked nodes and keep the locked ones in place
if UM.Util.parseBool(node.getSetting(SceneNodeSettings.LockPosition)):
if node.getSetting(SceneNodeSettings.LockPosition):
locked_nodes.append(node)
else:
nodes_to_arrange.append(node)