mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +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():
|
for key, child_obj in self.non_gui_children.items():
|
||||||
value = child_obj.settings_value()
|
value = child_obj.settings_value()
|
||||||
if self.override_state is OverrideState.DEFAULTS:
|
if self.override_state is OverrideState.DEFAULTS:
|
||||||
if value is not NOT_SET:
|
if value is NOT_SET:
|
||||||
raise TypeError((
|
raise TypeError((
|
||||||
"Child returned NOT_SET on defaults settings. {}"
|
"{} - Child returned NOT_SET on defaults settings."
|
||||||
).format(child_obj.path))
|
).format(child_obj.path))
|
||||||
|
|
||||||
for _key, _value in value.items():
|
for _key, _value in value.items():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue