diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-31 13:56:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-31 13:56:32 +0400 |
commit | f71b61e99dcf21cea3bd4ac01bf22893ca222bb5 (patch) | |
tree | 64edd4211c2a8af1cd0a56eb896d2ed06c4fd516 /io_scene_x3d | |
parent | 49752195b705d006188a5608b957d3f47c789af1 (diff) |
fix for x3d import/export errors.
Diffstat (limited to 'io_scene_x3d')
-rw-r--r-- | io_scene_x3d/export_x3d.py | 2 | ||||
-rw-r--r-- | io_scene_x3d/import_x3d.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index abb50b84..84904625 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 d3ffbb8b..86e68394 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): |