diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 12:48:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 12:48:58 +0400 |
commit | 48c9da843c40ff8a97b462d8539185b662ba1567 (patch) | |
tree | 5ef66e3398e8a8b852e405cd29ba26ce3f617404 /io_scene_map | |
parent | 7690c2a38db02317d7ad289a16b8c55b5ec0ed3a (diff) |
swap vector multiplication order, also some style changes
Diffstat (limited to 'io_scene_map')
-rw-r--r-- | io_scene_map/export_map.py | 4 |
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: |