mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Make sure to operate on copy of data and leave workfile instance data unaffected
This commit is contained in:
parent
ccd185495a
commit
c1904dff39
1 changed files with 1 additions and 1 deletions
|
|
@ -764,7 +764,7 @@ def replace_with_published_scene_path(instance, replace_in_path=True):
|
|||
return
|
||||
|
||||
# determine published path from Anatomy.
|
||||
template_data = workfile_instance.data.get("anatomyData")
|
||||
template_data = copy.deepcopy(workfile_instance.data["anatomyData"])
|
||||
rep = workfile_instance.data["representations"][0]
|
||||
template_data["representation"] = rep.get("name")
|
||||
template_data["ext"] = rep.get("ext")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue