Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-03 01:07:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-03 01:07:56 +0400
commite3958015db99927329604044094be1e6d3453e2d (patch)
treeab0de036430eca325ec795523bab26fd3797b5d4 /intern/cycles/app
parent60dc2f521b05794901109a55caa5c810be6b6128 (diff)
Code Cleanup: check is / is not when comparing singletons.
Diffstat (limited to 'intern/cycles/app')
-rw-r--r--intern/cycles/app/io_export_cycles_xml.py2
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")