Skip to content
Permalink
Browse files
fix for light group python errors, part 2
lightgroup uses a collection, not a group anymore. Reflect that in the property name.
  • Loading branch information
scorpion81 committed Sep 1, 2019
1 parent e32d31f commit 64caa97
Showing 1 changed file with 1 addition and 1 deletion.
@@ -286,6 +286,6 @@ def register_passes(engine, scene, srl):
lightgroup_names = []
for lightgroup in crl.lightgroups:
name = lightgroup.name
if lightgroup.group and not name in lightgroup_names:
if lightgroup.collection and not name in lightgroup_names:
engine.register_pass(scene, srl, "LG "+name, 3, "RGB", 'COLOR')
lightgroup_names.append(name)

0 comments on commit 64caa97

Please sign in to comment.