mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
Fix copy.deepcopy unable to deep copy instance data due to a link to PySide2.QMenu in 'pyblish.plugin._Dict' (#5238)
This commit is contained in:
parent
85532188a1
commit
4f4e1ac105
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ class CollectTextureSet(pyblish.api.InstancePlugin):
|
|||
# Clone the instance
|
||||
image_instance = context.create_instance(image_subset)
|
||||
image_instance[:] = instance[:]
|
||||
image_instance.data.update(copy.deepcopy(instance.data))
|
||||
image_instance.data.update(copy.deepcopy(dict(instance.data)))
|
||||
image_instance.data["name"] = image_subset
|
||||
image_instance.data["label"] = image_subset
|
||||
image_instance.data["subset"] = image_subset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue