[Bf-animsys] Update motion path when inserting bone keyframe with shortcut *I*

Erick Blender erickblender at gmail.com
Sun Dec 20 13:51:31 CET 2015

 Hi Devs,

I was trying to modify Blender source code so that motion path will be
updated when inserting the keyframe with I. For now the path is updated
automatically only when auto keyframing is on. I don't like working with
auto keyframe.
Just something for you to know, I m newbie i m studying c, c++ by myself.

So I already find the  pose_update_paths_exec(bContext *C, wmOperator
*UNUSED(op)), which is in the pose_edit.c and it suppose to update motion
path, and i also find insert_key_exec(bContext *C, wmOperator *op), which
is in keyframing.c and suppose to be the function that is called when
inserting keyframe with shortcut * i* when only available is selected.
Please forgive me if i m reading the code wrong.

My problem now is when i m copying that pose_update_paths_exec() in
insert_key_exec() the compiler is complaining. When i checked the headers
file i realized that pose_edit.c and keyframing.c don't have own header
files, so how to solve this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-animsys/attachments/20151220/f65e40cb/attachment.html>

More information about the Bf-animsys mailing list