fix on updating metadata of ftrack componet

This commit is contained in:
Jakub Jezek 2021-11-05 12:15:20 +01:00
parent 1fae4704f1
commit 2e3c3e78ae
No known key found for this signature in database
GPG key ID: D8548FBF690B100A

View file

@ -380,6 +380,11 @@ class FtrackComponentCreator:
).first()
if component_entity:
# Adding metadata
existing_component_metadata = component_entity["metadata"]
existing_component_metadata.update(component_metadata)
component_entity["metadata"] = existing_component_metadata
# overwrite existing members in component enity
# - get data for member from `ftrack.origin` location
self._overwrite_members(component_entity, comp_data)