diff options
author | Thomas Dinges <blender@dingto.org> | 2010-09-11 03:40:32 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2010-09-11 03:40:32 +0400 |
commit | 46a2c6aa73b15b83f08356288e521647f2c3dbce (patch) | |
tree | 1b924a41c142443874cb658ffe5545b8f09ec22b /io_mesh_raw | |
parent | 135017985179ea98e618a4648ac5fee7f45026da (diff) |
Patch [#23759] more replace self.properties.foo --> self.foo for bf-extensions/trunk/py/scripts
by Filiciss Muhgue (filiciss). Thanks a lot!
Part 2: Extensions
Diffstat (limited to 'io_mesh_raw')
-rw-r--r-- | io_mesh_raw/export_raw.py | 2 | ||||
-rw-r--r-- | io_mesh_raw/import_raw.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/io_mesh_raw/export_raw.py b/io_mesh_raw/export_raw.py index 59f06f9d..59881564 100644 --- a/io_mesh_raw/export_raw.py +++ b/io_mesh_raw/export_raw.py @@ -101,7 +101,7 @@ class RawExporter(bpy.types.Operator): triangulate = BoolProperty(name="Triangulate", description="Triangulate quads.", default=True) def execute(self, context): - export_raw(self.properties.filepath, self.properties.apply_modifiers, self.properties.triangulate) + export_raw(self.filepath, self.apply_modifiers, self.triangulate) return {'FINISHED'} def invoke(self, context, event): diff --git a/io_mesh_raw/import_raw.py b/io_mesh_raw/import_raw.py index d6b70e0b..1cbf0a31 100644 --- a/io_mesh_raw/import_raw.py +++ b/io_mesh_raw/import_raw.py @@ -128,9 +128,9 @@ class RawImporter(bpy.types.Operator): def execute(self, context): #convert the filename to an object name - objName = bpy.path.display_name(self.properties.filename) + objName = bpy.path.display_name(self.filename) - mesh = readMesh(self.properties.filepath, objName) + mesh = readMesh(self.filepath, objName) addMeshObj(mesh, objName) return {'FINISHED'} |