mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 14:22:37 +01:00
fix defaults save value validaitons
This commit is contained in:
parent
603508dc28
commit
11647b74c4
1 changed files with 2 additions and 2 deletions
|
|
@ -590,9 +590,9 @@ class RootEntity(BaseEntity):
|
|||
for key, child_obj in self.non_gui_children.items():
|
||||
value = child_obj.settings_value()
|
||||
if self.override_state is OverrideState.DEFAULTS:
|
||||
if value is not NOT_SET:
|
||||
if value is NOT_SET:
|
||||
raise TypeError((
|
||||
"Child returned NOT_SET on defaults settings. {}"
|
||||
"{} - Child returned NOT_SET on defaults settings."
|
||||
).format(child_obj.path))
|
||||
|
||||
for _key, _value in value.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue