diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 06:02:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 06:02:10 +0400 |
commit | f7ed59065a9069de777e4957f48650d72bd2a400 (patch) | |
tree | ee3ea6c554015dc242c89dbfe72b51a1963e4121 /io_scene_x3d/export_x3d.py | |
parent | c8c166df88185920d098144dd4d8c894d2288a4c (diff) |
reverse matrix, vector multiplication order,
previous order deprecated.
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r-- | io_scene_x3d/export_x3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index ae385a5e..c54d5d0a 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -74,7 +74,7 @@ def clamp_color(col): def matrix_direction_neg_z(matrix): - return (mathutils.Vector((0.0, 0.0, -1.0)) * matrix.to_3x3()).normalized()[:] + return (matrix.to_3x3() * mathutils.Vector((0.0, 0.0, -1.0))).normalized()[:] def prefix_quoted_str(value, prefix): |