diff options
Diffstat (limited to 'intern/cycles/app/io_export_cycles_xml.py')
-rw-r--r-- | intern/cycles/app/io_export_cycles_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/app/io_export_cycles_xml.py b/intern/cycles/app/io_export_cycles_xml.py index 2314d935214..3ba9e201d11 100644 --- a/intern/cycles/app/io_export_cycles_xml.py +++ b/intern/cycles/app/io_export_cycles_xml.py @@ -93,7 +93,7 @@ class ExportCyclesXML(bpy.types.Operator, ExportHelper): @classmethod def poll(cls, context): - return context.active_object != None + return (context.active_object is not None) def execute(self, context): filepath = bpy.path.ensure_ext(self.filepath, ".xml") |