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 12:48:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-25 12:48:58 +0400
commit48c9da843c40ff8a97b462d8539185b662ba1567 (patch)
tree5ef66e3398e8a8b852e405cd29ba26ce3f617404 /io_scene_map
parent7690c2a38db02317d7ad289a16b8c55b5ec0ed3a (diff)
swap vector multiplication order, also some style changes
Diffstat (limited to 'io_scene_map')
-rw-r--r--io_scene_map/export_map.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_map/export_map.py b/io_scene_map/export_map.py
index b8f91ed4..5373d21f 100644
--- a/io_scene_map/export_map.py
+++ b/io_scene_map/export_map.py
@@ -402,10 +402,10 @@ NULL
# add nmapping 0 0 ?
if PREF_GRID_SNAP:
file.write(" ( %d %d %d 0 0 )" %
- round_vec(p.co.xyz * mat))
+ round_vec(mat * p.co.xyz))
else:
file.write(' ( %.6f %.6f %.6f 0 0 )' %
- (p.co.xyz * mat)[:])
+ (mat * p.co.xyz)[:])
# Move to next line
if u_iter == u: