[Bf-extensions-cvs] [77618ba] master: Grr, fix for previous FBX commit.

Bastien Montagne noreply at git.blender.org
Wed Oct 1 09:00:24 CEST 2014


Commit: 77618baacd0df1414943a082ca3deea2892e3750
Author: Bastien Montagne
Date:   Wed Oct 1 08:32:39 2014 +0200
Branches: master
https://developer.blender.org/rBA77618baacd0df1414943a082ca3deea2892e3750

Grr, fix for previous FBX commit.

===================================================================

M	io_scene_fbx/export_fbx_bin.py
M	io_scene_fbx_experimental/export_fbx_bin.py

===================================================================

diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index 34a9d33..6025441 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 626e41c..63fcdb1 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



More information about the Bf-extensions-cvs mailing list