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>2011-07-25 06:02:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-25 06:02:10 +0400
commitf7ed59065a9069de777e4957f48650d72bd2a400 (patch)
treeee3ea6c554015dc242c89dbfe72b51a1963e4121 /io_scene_x3d/export_x3d.py
parentc8c166df88185920d098144dd4d8c894d2288a4c (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.py2
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):