Blender Git Loki

Git Commits -> Revision 88c2358

Revision 88c2358 by Joshua Leung (master)
March 25, 2008, 05:32 (GMT)
Bugfix #8736: Follow Path constraints does not work for Bones

This appears to be a long-standing bug, and it only affected the Follow-Path constraint as it was the only one which was dependant on time-based changes. An oversight in the depsgraph code meant that Follow-Path constraints on armature bones were not evaluated, unless there was an Action or some NLA-Strips for that armature.

I've added a new flag to pose->flag (POSE_CONSTRAINTS_TIMEDEPEND) which only gets set/cleared by update_pose_constraint_flags. This flag indicates that the depsgraph needs to do an update for such cases, and will require going in/out of EditMode to set this for old files.
It's been implemented as such to avoid having costly searches when trying to run animations realtime (as is done for modifiers).

Commit Details:

Full Hash: 88c2358f4f0829b95ad2f9d94c3e077e9dc7fcb5
SVN Revision: 14230
Parent Commit: 7de5843
Lines Changed: +28, -8

4 Modified Paths:

/source/blender/blenkernel/intern/action.c (+23, -6) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_action_types.h (+3, -1) (Diff)
/source/blender/src/editconstraint.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021