diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-23 09:23:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-23 09:23:13 +0400 |
commit | b19320f61556f31a55796f274008a4913ad86b6c (patch) | |
tree | 56409881730dfc0e9012efe70f36d3c67166459c /io_scene_x3d/export_x3d.py | |
parent | 551c5e625073ab47d8446e9c659a1f4139c1c770 (diff) |
fix [#33553] X3D export ignores up/forward vectors
solution from Philipp Oeser
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r-- | io_scene_x3d/export_x3d.py | 2 |
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 |