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
Branches
Tags
No related merge requests found
...@@ -1509,7 +1509,7 @@ def translateTexTransform(node, ancestry): ...@@ -1509,7 +1509,7 @@ def translateTexTransform(node, ancestry):
if cent: if cent:
# cent is at a corner by default # 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() cent_imat = cent_mat.inverted()
else: else:
cent_mat = cent_imat = None cent_mat = cent_imat = None
...@@ -1525,7 +1525,7 @@ def translateTexTransform(node, ancestry): ...@@ -1525,7 +1525,7 @@ def translateTexTransform(node, ancestry):
sca_mat = None sca_mat = None
if tx: if tx:
tx_mat = Matrix.Translation(Vector(tx).resize_3d()) tx_mat = Matrix.Translation(Vector(tx).to_3d())
else: else:
tx_mat = None tx_mat = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment