Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Foster <cdbfoster@gmail.com>2013-12-09 22:32:06 +0400
committerChris Foster <cdbfoster@gmail.com>2013-12-09 22:32:06 +0400
commit74ff9632637c44fddd06863968b38e12f18b1860 (patch)
tree5e7cd52096278e8b0ae32d1890dbb6308f6cb5eb /io_scene_x/__init__.py
parent689bb9c2146ae75ccce0dae6914681104e3c5f7a (diff)
Re-added the Coordinate System and Up Axis options. Apparently XNA uses a right handed system and the option was useful for some users. Oops!
Diffstat (limited to 'io_scene_x/__init__.py')
-rw-r--r--io_scene_x/__init__.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/io_scene_x/__init__.py b/io_scene_x/__init__.py
index 519ca16c..394954e6 100644
--- a/io_scene_x/__init__.py
+++ b/io_scene_x/__init__.py
@@ -53,6 +53,20 @@ class ExportDirectX(bpy.types.Operator):
description="Export only selected objects",
default=True)
+ CoordinateSystem = EnumProperty(
+ name="Coordinate System",
+ description="Use the selected coordinate system for export",
+ items=(('LEFT_HANDED', "Left-Handed", "Use a Y up, Z forward system or a Z up, -Y forward system"),
+ ('RIGHT_HANDED', "Right-Handed", "Use a Y up, -Z forward system or a Z up, Y forward system")),
+ default='LEFT_HANDED')
+
+ UpAxis = EnumProperty(
+ name="Up Axis",
+ description="The selected axis points upward",
+ items=(('Y', "Y", "The Y axis points up"),
+ ('Z', "Z", "The Z axis points up")),
+ default='Y')
+
ExportMeshes = BoolProperty(
name="Export Meshes",
description="Export mesh objects",