diff options
Diffstat (limited to 'intern/cycles/app/io_export_cycles_xml.py')
-rw-r--r-- | intern/cycles/app/io_export_cycles_xml.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/intern/cycles/app/io_export_cycles_xml.py b/intern/cycles/app/io_export_cycles_xml.py index 816536c0071..a1b42f72f7c 100644 --- a/intern/cycles/app/io_export_cycles_xml.py +++ b/intern/cycles/app/io_export_cycles_xml.py @@ -16,7 +16,6 @@ # XML exporter for generating test files, not intended for end users -import os import xml.etree.ElementTree as etree import xml.dom.minidom as dom @@ -66,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): |