[Bf-extensions-cvs] [12ff437f] master: FBX exporter: Fix broken non-mesh geometry export.

Bastien Montagne noreply at git.blender.org
Thu Jul 20 12:30:15 CEST 2017


Commit: 12ff437f3a623fb5f070c029eb60c7d8c4b85b5b
Author: Bastien Montagne
Date:   Thu Jul 20 12:29:32 2017 +0200
Branches: master
https://developer.blender.org/rBA12ff437f3a623fb5f070c029eb60c7d8c4b85b5b

FBX exporter: Fix broken non-mesh geometry export.

Own mistake in some recent refactor...

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

M	io_scene_fbx/__init__.py
M	io_scene_fbx/export_fbx_bin.py

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

diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index a3cb049e..4133e606 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -21,7 +21,7 @@
 bl_info = {
     "name": "FBX format",
     "author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
-    "version": (3, 7, 12),
+    "version": (3, 7, 13),
     "blender": (2, 77, 0),
     "location": "File > Import-Export",
     "description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index 9797b117..880cd448 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -2176,7 +2176,7 @@ def fbx_data_from_scene(scene, settings):
 
         if settings.use_mesh_modifiers or ob.type in BLENDER_OTHER_OBJECT_TYPES or is_ob_material:
             # We cannot use default mesh in that case, or material would not be the right ones...
-            use_org_data = not is_ob_material
+            use_org_data = not (is_ob_material or ob.type in BLENDER_OTHER_OBJECT_TYPES)
             tmp_mods = []
             if use_org_data and ob.type == 'MESH':
                 # No need to create a new mesh in this case, if no modifier is active!



More information about the Bf-extensions-cvs mailing list