diff options
author | Ralf Hölzemer <r.hoelzemer@posteo.de> | 2014-09-23 01:05:38 +0200 |
---|---|---|
committer | Ralf Hölzemer <r.hoelzemer@posteo.de> | 2014-09-23 01:05:38 +0200 |
commit | 8e6442cf05a103d15b65282704501fe039de2a20 (patch) | |
tree | bdae4d253e19576eed289c210088ea32f1f7be98 /tools/export/blender25/io_scene_dae | |
parent | cf04e1a827cadb597d8cbed534a4cc04a0ada4fc (diff) |
Only export Actions with a user count > 0
Diffstat (limited to 'tools/export/blender25/io_scene_dae')
-rw-r--r-- | tools/export/blender25/io_scene_dae/export_dae.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/export/blender25/io_scene_dae/export_dae.py b/tools/export/blender25/io_scene_dae/export_dae.py index 38c5c3b723..25bfbf0f69 100644 --- a/tools/export/blender25/io_scene_dae/export_dae.py +++ b/tools/export/blender25/io_scene_dae/export_dae.py @@ -1144,7 +1144,7 @@ class DaeExporter: self.writel(S_ANIM_CLIPS,0,'<library_animation_clips>') for x in bpy.data.actions[:]: - if x in self.action_constraints: + if x.users==0 or x in self.action_constraints: continue bones=[] |