add BLI_strcpy_rlen, replace strcat, which was used in misleading way.
[blender.git] / intern / cycles / app / io_export_cycles_xml.py
index 2314d935214df1e0ac35aec1a3b8da169ae02a50..3ba9e201d11c42698f0f7eaa25ae7dc6e953b91b 100644 (file)
@@ -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")