diff options
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 |