From f81cbb5fed8829b66b3f99e1c965a1579a3ac2e5 Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Sun, 6 Feb 2011 08:44:06 +0000 Subject: [PATCH] fix for own changes in mathutils. --- io_scene_x3d/import_x3d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index 307f6670d..b4b9fe09f 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 -- GitLab