diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-18 09:09:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-18 09:09:07 +0400 |
commit | 34680d1f7b31f59cacb10f3782fd100bbf503b3d (patch) | |
tree | 1ebd6ceb492e0e8395c38ea5aaf3d7496ab4d9cc /io_scene_map | |
parent | c406858e15028667e2e2a0e47ee3530eb6e65c45 (diff) |
fix for invalid axis being allowed on import/export
Diffstat (limited to 'io_scene_map')
-rw-r--r-- | io_scene_map/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/io_scene_map/__init__.py b/io_scene_map/__init__.py index d3295998..a9610ef5 100644 --- a/io_scene_map/__init__.py +++ b/io_scene_map/__init__.py @@ -53,6 +53,11 @@ class ExportMAP(bpy.types.Operator, ExportHelper): filename_ext = ".map" filter_glob = StringProperty(default="*.map", options={'HIDDEN'}) + ''' + def check(self, context): + return axis_conversion_ensure(self, "axis_forward", "axis_up") + ''' + def execute(self, context): # import math # from mathutils import Matrix |