Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-31 13:56:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-31 13:56:32 +0400
commitf71b61e99dcf21cea3bd4ac01bf22893ca222bb5 (patch)
tree64edd4211c2a8af1cd0a56eb896d2ed06c4fd516 /io_scene_x3d
parent49752195b705d006188a5608b957d3f47c789af1 (diff)
fix for x3d import/export errors.
Diffstat (limited to 'io_scene_x3d')
-rw-r--r--io_scene_x3d/export_x3d.py2
-rw-r--r--io_scene_x3d/import_x3d.py2
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):