mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix issue of hierachical enumerators with multiselection
This commit is contained in:
parent
5d045b776a
commit
4363af53d3
1 changed files with 7 additions and 1 deletions
|
|
@ -879,7 +879,13 @@ class SyncEntitiesFactory:
|
|||
|
||||
for item in values["data"]:
|
||||
value = item["value"]
|
||||
if value is None:
|
||||
# WARNING It is not possible to propage enumerate hierachical
|
||||
# attributes with multiselection 100% right. Unseting all values
|
||||
# will cause inheritance from parent.
|
||||
if (
|
||||
value is None
|
||||
or (isinstance(value, (tuple, list)) and not value)
|
||||
):
|
||||
continue
|
||||
entity_id = item["entity_id"]
|
||||
key = attribute_key_by_id[item["configuration_id"]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue