Fix duplicate Cycles panels in properties editor.

This commit is contained in:
Brecht Van Lommel
2018-04-03 14:04:59 +02:00
parent 3a96cfcd26
commit feb7852e1b

View File

@@ -50,7 +50,7 @@ class CyclesButtonsPanel:
@classmethod
def poll(cls, context):
return context.scene.view_render.engine in cls.COMPAT_ENGINES
return context.engine in cls.COMPAT_ENGINES
def get_device_type(context):