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

Julien Duroure julien.duroure at gmail.com
Fri Nov 21 13:01:11 CET 2014


Hi all,

Any ideas ?

Thanks.

I will try to get someone during the WE in IRC if nedded :)

On Sun, Nov 16, 2014 at 7:57 AM, Julien Duroure <julien.duroure at gmail.com>
wrote:

> 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
>
>

-- 
Julien DUROURE
http://julienduroure.com


More information about the Bf-committers mailing list