mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-04 09:55:24 +01:00
fixed settings value of dict immutable item
This commit is contained in:
parent
91beaaec82
commit
42778fc7aa
1 changed files with 6 additions and 1 deletions
|
|
@ -456,8 +456,13 @@ class DictImmutableKeysEntity(ItemEntity):
|
|||
if value is not NOT_SET:
|
||||
output[key] = value
|
||||
|
||||
if not output and self.override_state is not OverrideState.DEFAULTS:
|
||||
if self.override_state is OverrideState.DEFAULTS:
|
||||
return output
|
||||
|
||||
if not output:
|
||||
return NOT_SET
|
||||
|
||||
output.update(self.current_metadata)
|
||||
return output
|
||||
|
||||
def _prepare_value(self, value):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue