FBX exporter: Fix broken non-mesh geometry export.
Own mistake in some recent refactor...
This commit is contained in:
parent
e70b309dac
commit
12ff437f3a
|
@ -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",
|
||||
|
|
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue