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_export_directx_x.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_export_directx_x.py')
-rw-r--r-- | io_export_directx_x.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/io_export_directx_x.py b/io_export_directx_x.py index e32f542a..9d13e69c 100644 --- a/io_export_directx_x.py +++ b/io_export_directx_x.py @@ -20,7 +20,7 @@ bl_addon_info = { "author": "Chris Foster (Kira Vakaan)", "version": (1,6), "blender": (2, 5, 3), - "api": 31667, + "api": 31847, "location": "File > Export", "description": "Export to the DirectX Model Format (.x)", "warning": "", @@ -1112,22 +1112,22 @@ class DirectXExporter(bpy.types.Operator): def execute(self, context): #Append .x if needed - FilePath = self.properties.filepath + FilePath = self.filepath if not FilePath.lower().endswith(".x"): FilePath += ".x" Config = DirectXExporterSettings(context, FilePath, - CoordinateSystem=self.properties.CoordinateSystem, - RotateX=self.properties.RotateX, - FlipNormals=self.properties.FlipNormals, - ApplyModifiers=self.properties.ApplyModifiers, - IncludeFrameRate=self.properties.IncludeFrameRate, - ExportTextures=self.properties.ExportTextures, - ExportArmatures=self.properties.ExportArmatures, - ExportAnimation=self.properties.ExportAnimation, - ExportMode=self.properties.ExportMode, - Verbose=self.properties.Verbose) + CoordinateSystem=self.CoordinateSystem, + RotateX=self.RotateX, + FlipNormals=self.FlipNormals, + ApplyModifiers=self.ApplyModifiers, + IncludeFrameRate=self.IncludeFrameRate, + ExportTextures=self.ExportTextures, + ExportArmatures=self.ExportArmatures, + ExportAnimation=self.ExportAnimation, + ExportMode=self.ExportMode, + Verbose=self.Verbose) ExportDirectX(Config) return {"FINISHED"} |