mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
use 'create' method on create context to trigger creation
This commit is contained in:
parent
0f9b941db5
commit
6b2c10da04
1 changed files with 5 additions and 9 deletions
|
|
@ -1653,15 +1653,11 @@ class PlaceholderCreateMixin(object):
|
|||
asset_name
|
||||
).process()
|
||||
else:
|
||||
creator_instance = creator_plugin.create(
|
||||
subset_name,
|
||||
{
|
||||
"asset": asset_doc["name"],
|
||||
"task": task_name,
|
||||
"family": creator_plugin.family,
|
||||
"variant": create_variant
|
||||
},
|
||||
{}
|
||||
creator_instance = self.create_context.create(
|
||||
creator_plugin.identifier,
|
||||
create_variant,
|
||||
asset_doc,
|
||||
task_name=task_name
|
||||
)
|
||||
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue