forked from bartvdbraak/blender
Fix #22921: error FBX exporting armature without animation data.
This commit is contained in:
parent
75410037fd
commit
fe4c55008e
@ -2940,6 +2940,7 @@ Takes: {''')
|
|||||||
# end action loop. set original actions
|
# end action loop. set original actions
|
||||||
# do this after every loop incase actions effect eachother.
|
# do this after every loop incase actions effect eachother.
|
||||||
for my_bone in ob_arms:
|
for my_bone in ob_arms:
|
||||||
|
if my_bone.blenObject.animation_data:
|
||||||
my_bone.blenObject.animation_data.action = my_bone.blenAction
|
my_bone.blenObject.animation_data.action = my_bone.blenAction
|
||||||
|
|
||||||
file.write('\n}')
|
file.write('\n}')
|
||||||
|
Loading…
Reference in New Issue
Block a user