mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
modified collect scene instance to add only 'renderlayer'
This commit is contained in:
parent
518c60de0b
commit
f3726d0c95
1 changed files with 3 additions and 3 deletions
|
|
@ -104,10 +104,10 @@ class CollectRenderScene(pyblish.api.ContextPlugin):
|
|||
"representations": [],
|
||||
"layers": copy.deepcopy(context.data["layersData"]),
|
||||
"asset": asset_name,
|
||||
"task": task_name
|
||||
"task": task_name,
|
||||
# Add render layer to instance data
|
||||
"renderlayer": self.render_layer
|
||||
}
|
||||
# Add 'renderlayer' and 'renderpass' to data
|
||||
instance_data.update(dynamic_data)
|
||||
|
||||
instance = context.create_instance(**instance_data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue