Draft: Allow to prevent layers to claim children

This commit is contained in:
Yorik van Havre
2024-03-08 13:46:39 +01:00
committed by Chris Hennes
parent ad667811a5
commit 0f0c9fe44d

View File

@@ -177,6 +177,8 @@ class ViewProviderLayer:
These are the elements of the `Group` property of the Proxy object.
"""
if hasattr(self, "Object") and hasattr(self.Object, "Group"):
if getattr(self.Object.ViewObject, "HideChildren", False):
return []
return self.Object.Group
def getDisplayModes(self, vobj):