mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
added any_parent_is_group to RawJson
This commit is contained in:
parent
008204f7d9
commit
2e1dbec431
1 changed files with 6 additions and 0 deletions
|
|
@ -942,6 +942,12 @@ class RawJsonWidget(QtWidgets.QWidget, InputObject):
|
|||
self._parent = parent
|
||||
self._as_widget = values is AS_WIDGET
|
||||
|
||||
any_parent_is_group = parent.is_group
|
||||
if not any_parent_is_group:
|
||||
any_parent_is_group = parent.any_parent_is_group
|
||||
|
||||
self.any_parent_is_group = any_parent_is_group
|
||||
|
||||
self._is_group = input_data.get("is_group", False)
|
||||
self.default_value = input_data.get("default", NOT_SET)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue