Blender Git Commit Log

Git Commits -> Revision 1788bc2

Revision 1788bc2 by Joshua Leung (master)
May 24, 2011, 12:12 (GMT)
= Limit Distance Constraint - 'For Transform' Option =

The Limit Distance Constraint now has a "For Transform" option just
like all the other Limit constraints. This option controls whether the
constraint gets applied to interactive transforms in the 3D View too,
preventing controllers from getting large values without the animator
knowing.


Additional code changes:
* Split code to get constraint targets and grab their matrices for
solving out to a separate helper function:
get_constraint_targets_for_solving()
* Fixed a bug where "found constraint ...." prints would appear in the
console. Looks like some warning print that was forgotten

TODO:
* While coding this, I noticed potential division by zero bugs with
the Limit Distance constraint. Looking into these after this commit.

Commit Details:

Full Hash: 1788bc298c7afc202346477ac14456f6f208359b
SVN Revision: 36862
Parent Commit: a5b07c0
Lines Changed: +72, -26

7 Modified Paths:

/release/scripts/startup/bl_ui/properties_object_constraint.py (+5, -0) (Diff)
/source/blender/blenkernel/BKE_constraint.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+31, -21) (Diff)
/source/blender/editors/object/object_constraint.c (+2, -1) (Diff)
/source/blender/editors/transform/transform.c (+24, -3) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021