[Bf-python] API : insert keyframe on bones that are not in visible bone layer

Julien Duroure julien.duroure at gmail.com
Sun Nov 16 07:57:36 CET 2014


Hi all,

It seems that this is not possible to insert keyframes on non visible bones
(on bones that are on non active bone layer. But the API operator returns
'True' value anyway.

obj = bpy.data.objects['Armature']
obj.pose.bones['Bone'].keyframe_insert('location')

Is there a way to correctly add this keyframe on non visible bone ?
This is weird that the operator return True, while keyframe is not inserted.

Thanks !


-- 
Julien DUROURE
http://julienduroure.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20141116/86b5335b/attachment.html>


More information about the Bf-python mailing list