From f7ed59065a9069de777e4957f48650d72bd2a400 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 25 Jul 2011 02:02:10 +0000 Subject: reverse matrix, vector multiplication order, previous order deprecated. --- io_scene_obj/export_obj.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'io_scene_obj') diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py index a6570907..0eb1b8d3 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -172,8 +172,7 @@ def write_nurb(file, ob, ob_mat): do_endpoints = (do_closed == 0) and nu.use_endpoint_u for pt in nu.points: - pt = pt.co.to_3d() * ob_mat - file.write('v %.6f %.6f %.6f\n' % (pt[0], pt[1], pt[2])) + file.write('v %.6f %.6f %.6f\n' % (ob_mat * pt.co.to_3d())[:]) pt_num += 1 tot_verts += pt_num -- cgit v1.2.3