mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Remove hero edits.
This commit is contained in:
parent
6490c1e387
commit
03c6fab3ea
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,6 @@ class IntegrateHeroVersion(pyblish.api.InstancePlugin):
|
|||
anatomy_filled = anatomy.format(anatomy_data)
|
||||
template_filled = anatomy_filled[template_key]["path"]
|
||||
|
||||
# Prepare new repre
|
||||
repre_data = {
|
||||
"path": str(template_filled),
|
||||
"template": hero_template
|
||||
|
|
@ -317,6 +316,7 @@ class IntegrateHeroVersion(pyblish.api.InstancePlugin):
|
|||
if value is not None:
|
||||
repre_context[key] = value
|
||||
|
||||
# Prepare new repre
|
||||
repre = copy.deepcopy(repre_info["representation"])
|
||||
repre["parent"] = new_hero_version["_id"]
|
||||
repre["context"] = repre_context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue