diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-03 01:07:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-03 01:07:56 +0400 |
commit | e3958015db99927329604044094be1e6d3453e2d (patch) | |
tree | ab0de036430eca325ec795523bab26fd3797b5d4 /intern | |
parent | 60dc2f521b05794901109a55caa5c810be6b6128 (diff) |
Code Cleanup: check is / is not when comparing singletons.
Diffstat (limited to 'intern')
-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") |