mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
collect render instances can set 'ignoreLayersTransparency'
This commit is contained in:
parent
5aba18e089
commit
87b818e37e
1 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ class CollectRenderInstances(pyblish.api.InstancePlugin):
|
|||
hosts = ["tvpaint"]
|
||||
families = ["render", "review"]
|
||||
|
||||
ignore_render_pass_transparency = False
|
||||
|
||||
def process(self, instance):
|
||||
context = instance.context
|
||||
creator_identifier = instance.data["creator_identifier"]
|
||||
|
|
@ -63,6 +65,9 @@ class CollectRenderInstances(pyblish.api.InstancePlugin):
|
|||
for layer in layers_data
|
||||
if layer["name"] in layer_names
|
||||
]
|
||||
instance.data["ignoreLayersTransparency"] = (
|
||||
self.ignore_render_pass_transparency
|
||||
)
|
||||
|
||||
render_layer_data = None
|
||||
render_layer_id = creator_attributes["render_layer_instance_id"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue