mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
skip dynamic schema entities in settings values method
This commit is contained in:
parent
f65dee0a0e
commit
6282e8d1ad
2 changed files with 5 additions and 0 deletions
|
|
@ -332,6 +332,9 @@ class DictImmutableKeysEntity(ItemEntity):
|
|||
if self._override_state is OverrideState.DEFAULTS:
|
||||
output = {}
|
||||
for key, child_obj in self.non_gui_children.items():
|
||||
if child_obj.is_dynamic_schema_node:
|
||||
continue
|
||||
|
||||
child_value = child_obj.settings_value()
|
||||
if not child_obj.is_file and not child_obj.file_item:
|
||||
for _key, _value in child_value.items():
|
||||
|
|
|
|||
|
|
@ -281,6 +281,8 @@ class RootEntity(BaseItemEntity):
|
|||
if self._override_state is not OverrideState.DEFAULTS:
|
||||
output = {}
|
||||
for key, child_obj in self.non_gui_children.items():
|
||||
if child_obj.is_dynamic_schema_node:
|
||||
continue
|
||||
value = child_obj.settings_value()
|
||||
if value is not NOT_SET:
|
||||
output[key] = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue