Do not select parented nodes when selecting all

This commit is contained in:
fieldOfView 2018-03-19 17:52:40 +01:00
parent fff0a2519a
commit 5a9bcf446e

View File

@ -1105,7 +1105,7 @@ class CuraApplication(QtApplication):
continue
if not node.getMeshData() and not node.callDecoration("isGroup"):
continue # Node that doesnt have a mesh and is not a group.
if node.getParent() and node.getParent().callDecoration("isGroup"):
if node.getParent() and node.getParent().callDecoration("isGroup") or node.getParent().callDecoration("isSliceable"):
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