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_import_scene_lwo.py | |
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_import_scene_lwo.py')
-rw-r--r-- | io_import_scene_lwo.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/io_import_scene_lwo.py b/io_import_scene_lwo.py index c2d75f97..3923e9d5 100644 --- a/io_import_scene_lwo.py +++ b/io_import_scene_lwo.py @@ -23,7 +23,7 @@ bl_addon_info= { "author": "Ken Nign (Ken9)", "version": (1, 2), "blender": (2, 5, 3), - "api": 31744, + "api": 31847, "location": "File > Import > LightWave Object (.lwo)", "description": "Imports a LWO file including any UV, Morph and Color maps. Can convert Skelegons to an Armature.", "warning": "", @@ -1221,11 +1221,11 @@ class IMPORT_OT_lwo(bpy.types.Operator): SKEL_TO_ARM= BoolProperty(name="Create Armature", description="Create an armature from an embedded Skelegon rig", default=True) def execute(self, context): - load_lwo(self.properties.filepath, + load_lwo(self.filepath, context, - self.properties.ADD_SUBD_MOD, - self.properties.LOAD_HIDDEN, - self.properties.SKEL_TO_ARM) + self.ADD_SUBD_MOD, + self.LOAD_HIDDEN, + self.SKEL_TO_ARM) return {'FINISHED'} def invoke(self, context, event): |