Fixed arranger multiplying too big objects and arrange All. CURA-3676

This commit is contained in:
Jack Ha 2017-04-12 15:58:09 +02:00
parent 3e75583f2b
commit c7a6d42920
2 changed files with 12 additions and 5 deletions

View file

@ -984,7 +984,9 @@ class CuraApplication(QtApplication):
continue # Grouped nodes don't need resetting as their parent (the group) is resetted)
if not node.isSelectable():
continue # i.e. node with layer data
nodes.append(node)
# Skip nodes that are too big
if node.getBoundingBox().width < self._volume.getBoundingBox().width or node.getBoundingBox().depth < self._volume.getBoundingBox().depth:
nodes.append(node)
self.arrange(nodes, fixed_nodes = [])
## Arrange Selection