diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-06 11:44:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-06 11:44:06 +0300 |
commit | f81cbb5fed8829b66b3f99e1c965a1579a3ac2e5 (patch) | |
tree | e61da2a67d56009dd1bd62449b1b8ab4f4b9ef44 /io_scene_x3d | |
parent | ae3c9b0d07146117127b0a0299d15a8377df6aa0 (diff) |
fix for own changes in mathutils.
Diffstat (limited to 'io_scene_x3d')
-rw-r--r-- | io_scene_x3d/import_x3d.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index 307f6670..b4b9fe09 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -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 |