mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 00:36:03 +08:00
Select the group when right clicking an object that is part of a group
Instead of selecting the individual object. Contributes to CURA-3609
This commit is contained in:
parent
86d3cbadca
commit
89310cb41e
@ -1339,4 +1339,7 @@ class CuraApplication(QtApplication):
|
||||
if not Selection.hasSelection():
|
||||
node = self.getController().getScene().findObject(self.getRenderer().getRenderPass("selection").getIdAtPosition(x, y))
|
||||
if node:
|
||||
while(node.getParent() and node.getParent().callDecoration("isGroup")):
|
||||
node = node.getParent()
|
||||
|
||||
Selection.add(node)
|
||||
|
Loading…
x
Reference in New Issue
Block a user