replace self.properties.foo --> self.foo

This commit is contained in:
2010-09-09 18:03:57 +00:00
parent 7bd1f9a234
commit 111965478a
20 changed files with 131 additions and 139 deletions

View File

@@ -28,8 +28,8 @@ class ExportHelper:
def invoke(self, context, event):
import os
if not self.properties.is_property_set("filepath"):
self.properties.filepath = os.path.splitext(context.blend_data.filepath)[0] + self.filename_ext
if not self.filepath:
self.filepath = os.path.splitext(context.blend_data.filepath)[0] + self.filename_ext
context.window_manager.add_fileselect(self)
return {'RUNNING_MODAL'}