mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
Merge pull request #13 from aardschok/master
Resolved issue lookdev and renderlayers
This commit is contained in:
commit
001089dc45
1 changed files with 2 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class CollectLook(pyblish.api.InstancePlugin):
|
|||
def process(self, instance):
|
||||
"""Collect the Look in the instance with the correct layer settings"""
|
||||
|
||||
with context.renderlayer("defaultRenderLayer"):
|
||||
with context.renderlayer(instance.data["renderlayer"]):
|
||||
self.collect(instance)
|
||||
|
||||
def collect(self, instance):
|
||||
|
|
@ -98,6 +98,7 @@ class CollectLook(pyblish.api.InstancePlugin):
|
|||
verbose)
|
||||
if not member_data:
|
||||
continue
|
||||
|
||||
sets[objset]["members"].append(member_data)
|
||||
|
||||
# Remove sets that didn't have any members assigned in the end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue