Skip to content

Commit

Permalink
Merge pull request #1043 from BigRoy/bugfix/replace_published_scene_p…
Browse files Browse the repository at this point in the history
…ath_deepcopy

Replace with published path, avoid changing the instance data
  • Loading branch information
iLLiCiTiT authored Dec 13, 2024
2 parents 2ee0112 + f6c7ee0 commit 30a0e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ayon_core/pipeline/publish/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 30a0e55

Please sign in to comment.