diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-11 13:13:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-11 13:34:51 +0300 |
commit | fdc0f4ad90973d43ccdf4892821dfc82c3ab3329 (patch) | |
tree | 4ed1c2a28474c442a40d0ecf5316058e6fa0f3f4 /intern | |
parent | ff39cbdc86ce671c91d0bacf5466ff089d4d5b4f (diff) |
Fix Use Nodes not working for Cycles lights.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 6688874de49..03ce3835365 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -1056,7 +1056,7 @@ class CYCLES_OT_use_shading_nodes(Operator): @classmethod def poll(cls, context): return (getattr(context, "material", False) or getattr(context, "world", False) or - getattr(context, "lamp", False)) + getattr(context, "light", False)) def execute(self, context): if context.material: |