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:
authorCampbell Barton <ideasman42@gmail.com>2013-01-23 09:23:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-23 09:23:13 +0400
commitb19320f61556f31a55796f274008a4913ad86b6c (patch)
tree56409881730dfc0e9012efe70f36d3c67166459c /io_scene_x3d
parent551c5e625073ab47d8446e9c659a1f4139c1c770 (diff)
fix [#33553] X3D export ignores up/forward vectors
solution from Philipp Oeser
Diffstat (limited to 'io_scene_x3d')
-rw-r--r--io_scene_x3d/export_x3d.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py
index eb5d346e..e43dc124 100644
--- a/io_scene_x3d/export_x3d.py
+++ b/io_scene_x3d/export_x3d.py
@@ -1405,6 +1405,8 @@ def export(file,
if use_hierarchy:
# make transform node relative
obj_matrix = obj_main_matrix_world_invert * obj_matrix
+ else:
+ obj_matrix = global_matrix * obj_matrix
# H3D - use for writing a dummy transform parent
is_dummy_tx = False