= Limit Distance Constraint - 'For Transform' Option =
authorJoshua Leung <aligorith@gmail.com>
Tue, 24 May 2011 12:12:12 +0000 (12:12 +0000)
committerJoshua Leung <aligorith@gmail.com>
Tue, 24 May 2011 12:12:12 +0000 (12:12 +0000)
commit1788bc298c7afc202346477ac14456f6f208359b
tree5b0bf523f5efc247665db105dac66126e7478843
parenta5b07c09349978ab7ecf319e6345d7c98177521c
= 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.
release/scripts/startup/bl_ui/properties_object_constraint.py
source/blender/blenkernel/BKE_constraint.h
source/blender/blenkernel/intern/constraint.c
source/blender/editors/object/object_constraint.c
source/blender/editors/transform/transform.c
source/blender/makesdna/DNA_constraint_types.h
source/blender/makesrna/intern/rna_constraint.c