mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
flame: fix integrating batch group to loader with bgroup
This commit is contained in:
parent
c2788070a3
commit
c2a4176067
2 changed files with 5 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ class LoadClipBatch(opfapi.ClipLoader):
|
|||
def load(self, context, name, namespace, options):
|
||||
|
||||
# get flame objects
|
||||
self.batch = flame.batch
|
||||
self.batch = options.get("batch") or flame.batch
|
||||
|
||||
# load clip to timeline and get main variables
|
||||
namespace = namespace
|
||||
|
|
|
|||
|
|
@ -130,7 +130,10 @@ class IntegrateBatchGroup(pyblish.api.InstancePlugin):
|
|||
try:
|
||||
op_pipeline.load.load_with_repre_context(
|
||||
loader_plugin, repre_context, **{
|
||||
"data": {"workdir": self.task_workdir}
|
||||
"data": {
|
||||
"workdir": self.task_workdir,
|
||||
"batch": bgroup
|
||||
}
|
||||
})
|
||||
except op_pipeline.load.IncompatibleLoaderError as msg:
|
||||
self.log.error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue