Fix Cycles debug panel, being shown in BI as well.

This commit is contained in:
Thomas Dinges 2016-03-25 19:59:18 +01:00 committed by Sergey Sharybin
parent 721f0089aa
commit 8aefea0c3a
1 changed files with 1 additions and 1 deletions

View File

@ -1505,7 +1505,7 @@ class CyclesRender_PT_debug(CyclesButtonsPanel, Panel):
@classmethod
def poll(cls, context):
return bpy.app.debug_value == 256
return CyclesButtonsPanel.poll(context) and bpy.app.debug_value == 256
def draw(self, context):
layout = self.layout