Skip to content
Snippets Groups Projects
Commit b3c5f665 authored by Campbell Barton's avatar Campbell Barton
Browse files

fix for povray poll function

parent 2384910b
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ class RenderButtonsPanel(): ...@@ -162,7 +162,7 @@ class RenderButtonsPanel():
@classmethod @classmethod
def poll(cls, context): def poll(cls, context):
rd = context.scene.render rd = context.scene.render
return (rd.use_game_engine == False) and (rd.engine in self.COMPAT_ENGINES) return (rd.use_game_engine == False) and (rd.engine in cls.COMPAT_ENGINES)
class RENDER_PT_povray_radiosity(RenderButtonsPanel, bpy.types.Panel): class RENDER_PT_povray_radiosity(RenderButtonsPanel, bpy.types.Panel):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment