diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index abb50b844157c6d8218f0d878c4a0bed645ef8bc..849046256afa2b0b288b420cb10fce49e07a0d3d 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -464,7 +464,7 @@ def export(file, def vertex_key(fidx, f_cnr_idx): return ( - mesh_faces_uv[fidx].uv[f_cnr_idx].to_tuple(4), + mesh_faces_uv[fidx].uv[f_cnr_idx][:], ) elif is_col: slot_col = 0 diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index d3ffbb8bcdb2cb67c1801c360974a2eb5edb6e1a..86e6839475c6a516e5f714e3324743ec6fc0a2b3 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -2314,7 +2314,7 @@ def importLamp(node, spec, ancestry, global_matrix): bpyob = node.blendObject = bpy.data.objects.new("TODO", bpylamp) bpy.context.scene.objects.link(bpyob) - bpyob.matrix_world = getFinalMatrix(node, mtx, ancestry. global_matrix) + bpyob.matrix_world = getFinalMatrix(node, mtx, ancestry, global_matrix) def importViewpoint(node, ancestry, global_matrix):