diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-21 14:52:06 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-21 14:52:06 +0300 |
commit | e22da49ade4789cc6c39a78cc8fb0504ededa791 (patch) | |
tree | 527ea722912e03c6f53e2c7a9dffb68ba1474515 /io_scene_fbx/export_fbx_bin.py | |
parent | 665b1a4113bc5a0cf918527b8659d2667e93caf9 (diff) |
Fix T42975: FBX export: Do not export empty groups.v2.73-rc1
Thanks to Squashwell (Harrison Nordby) for org report and patch.
Diffstat (limited to 'io_scene_fbx/export_fbx_bin.py')
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index f2e4d019..5cc4d5a8 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -2900,7 +2900,7 @@ def save(operator, context, fbxpath = os.path.dirname(fbxpath) if batch_mode == 'GROUP': - data_seq = bpy.data.groups + data_seq = tuple(grp for grp in bpy.data.groups if grp.objects) else: data_seq = bpy.data.scenes |