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

fix for own changes in mathutils.

parent ae3c9b0d
No related branches found
No related tags found
No related merge requests found
......@@ -1509,7 +1509,7 @@ def translateTexTransform(node, ancestry):
if cent:
# cent is at a corner by default
cent_mat = Matrix.Translation(Vector(cent).resize_3d())
cent_mat = Matrix.Translation(Vector(cent).to_3d())
cent_imat = cent_mat.inverted()
else:
cent_mat = cent_imat = None
......@@ -1525,7 +1525,7 @@ def translateTexTransform(node, ancestry):
sca_mat = None
if tx:
tx_mat = Matrix.Translation(Vector(tx).resize_3d())
tx_mat = Matrix.Translation(Vector(tx).to_3d())
else:
tx_mat = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment