Skip to content
Snippets Groups Projects
Commit 99e938c5 authored by Campbell Barton's avatar Campbell Barton
Browse files

correction in matrix multiplication order when importing nurbs curves.

parent 9544a1aa
Branches
Tags
No related merge requests found
......@@ -212,7 +212,7 @@ def write_nurb(file, ob, ob_mat):
do_endpoints = (do_closed == 0) and nu.use_endpoint_u
for pt in nu.points:
pt = ob_mat * pt.co.copy().resize3D()
pt = pt.co.copy().resize3D() * ob_mat
file.write('v %.6f %.6f %.6f\n' % (pt[0], pt[1], pt[2]))
pt_num += 1
tot_verts += pt_num
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment