Fix Cycles debug panel, being shown in BI as well.
This commit is contained in:
parent
721f0089aa
commit
8aefea0c3a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue