diff options
Diffstat (limited to 'intern/cycles/app/io_export_cycles_xml.py')
-rw-r--r-- | intern/cycles/app/io_export_cycles_xml.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/app/io_export_cycles_xml.py b/intern/cycles/app/io_export_cycles_xml.py index e7ef182120f..a1b42f72f7c 100644 --- a/intern/cycles/app/io_export_cycles_xml.py +++ b/intern/cycles/app/io_export_cycles_xml.py @@ -65,8 +65,7 @@ class RenderButtonsPanel(): @classmethod def poll(self, context): - rd = context.scene.render - return rd.engine == 'CYCLES' + return context.engine == 'CYCLES' class PHYSICS_PT_fluid_export(RenderButtonsPanel, bpy.types.Panel): |