Blender Git Loki

Git Commits -> Revision 5e58f5d

Revision 5e58f5d by Joshua Leung (master)
January 4, 2008, 11:21 (GMT)
== Local Constraints for Proxies (Peach Request) ==

Proxy protected bones can now get local (per-file) constraints added to them, which will be preserved after a file load. This is necessary for adding constraints to proxy-protected bones for special purposes while animating (i.e. adding CopyLocs to IK-hand controls to pick up an object).

These must be added after any constraints from the proxy, as proxy constraints may come and go without warning. As such, the UI forbids this from happening by removing the relevant button.

I've also made UI-changes to show which constraints come from the proxy (the buttons to move the constraint up/down and delete it, are replace with two icons - a the proxy 'ghost' icon and a lock). Also, trying to change any settings of proxy-protected constraint will show an error.


Notes:
* Object constraints are still not playing nice with proxies yet. They didn't before this commit either...

Commit Details:

Full Hash: 5e58f5d4635dd4d4b38434643df5ede17f0e103f
SVN Revision: 13125
Parent Commit: 56faf73
Lines Changed: +150, -40

7 Modified Paths:

/source/blender/blenkernel/BKE_constraint.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+9, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+40, -0) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+3, -1) (Diff)
/source/blender/src/buttons_object.c (+75, -23) (Diff)
/source/blender/src/editconstraint.c (+16, -15) (Diff)
/source/blender/src/poseobject.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021