diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
commit | ebfb6490e11ae9ae0429737c1bf0e0cd64222f5a (patch) | |
tree | d6b7ff4e93a37043d83ceb5dbabfdf8bc2bab117 /render_povray/ui.py | |
parent | 8d94603a8de70935166a933d2fb0f9af369d567f (diff) |
update for changes in blender.
Diffstat (limited to 'render_povray/ui.py')
-rw-r--r-- | render_povray/ui.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render_povray/ui.py b/render_povray/ui.py index 1dfed0f3..ee3ce2c2 100644 --- a/render_povray/ui.py +++ b/render_povray/ui.py @@ -159,7 +159,8 @@ class RenderButtonsPanel(): bl_context = "render" # COMPAT_ENGINES must be defined in each subclass, external engines can add themselves here - def poll(self, context): + @staticmethod + def poll(context): rd = context.scene.render return (rd.use_game_engine == False) and (rd.engine in self.COMPAT_ENGINES) |