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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-10-01 10:32:39 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-10-01 10:32:39 +0400
commit77618baacd0df1414943a082ca3deea2892e3750 (patch)
tree61e709bd69668f02e91657aaf2c4f75cdfcc13ea
parentc58170fbe21e23f54c0217bc9d4fba9046b8fde0 (diff)
Grr, fix for previous FBX commit.
-rw-r--r--io_scene_fbx/export_fbx_bin.py2
-rw-r--r--io_scene_fbx_experimental/export_fbx_bin.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index 34a9d338..60254414 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -2031,7 +2031,7 @@ def fbx_data_from_scene(scene, settings):
# Note: Maybe this is a bit too simplistic, should we use real shape base here? Though FBX does not
# have this at all... Anyway, this should cover most common cases imho.
continue
- shape_verts_co.extend(sv_co - v_co)
+ shape_verts_co.extend(Vector(sv_co) - Vector(v_co))
shape_verts_idx.append(idx)
if not shape_verts_co:
continue
diff --git a/io_scene_fbx_experimental/export_fbx_bin.py b/io_scene_fbx_experimental/export_fbx_bin.py
index 626e41c8..63fcdb15 100644
--- a/io_scene_fbx_experimental/export_fbx_bin.py
+++ b/io_scene_fbx_experimental/export_fbx_bin.py
@@ -2122,7 +2122,7 @@ def fbx_data_from_scene(scene, settings):
# Note: Maybe this is a bit too simplistic, should we use real shape base here? Though FBX does not
# have this at all... Anyway, this should cover most common cases imho.
continue
- shape_verts_co.extend(sv_co - v_co)
+ shape_verts_co.extend(Vector(sv_co) - Vector(v_co))
shape_verts_idx.append(idx)
if not shape_verts_co:
continue