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

Joshua Leung aligorith at gmail.com
Fri Nov 21 13:12:19 CET 2014


Hi,

After double checking this, the keyframes are getting added. You just need
to enable the "show hidden" toggle in the header (ghost icon) to see them.

Hope that helps,
Joshua


On Sat, Nov 22, 2014 at 1:01 AM, Julien Duroure <julien.duroure at gmail.com>
wrote:

> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list