mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
OP-2765 - add publish value
Fix wrong recreation of legacy instance
This commit is contained in:
parent
01e045d9ab
commit
4ad395953e
1 changed files with 2 additions and 2 deletions
|
|
@ -36,6 +36,8 @@ class CollectWorkfile(pyblish.api.ContextPlugin):
|
|||
|
||||
instance.data["representations"].append(representation)
|
||||
|
||||
instance.data["publish"] = instance.data["active"] # for DL
|
||||
|
||||
def _get_new_instance(self, context, scene_file):
|
||||
task = api.Session["AVALON_TASK"]
|
||||
version = context.data["version"]
|
||||
|
|
@ -83,8 +85,6 @@ class CollectWorkfile(pyblish.api.ContextPlugin):
|
|||
"representations": list()
|
||||
})
|
||||
|
||||
# Create instance
|
||||
instance = context.create_instance(subset)
|
||||
instance.data.update(instance_data)
|
||||
|
||||
return instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue