== Constraints - Code Cleanup ==
authorJoshua Leung <aligorith@gmail.com>
Wed, 20 Jun 2007 07:11:31 +0000 (07:11 +0000)
committerJoshua Leung <aligorith@gmail.com>
Wed, 20 Jun 2007 07:11:31 +0000 (07:11 +0000)
commit0616766f87d3ae1898b904a741ecf963621b02ff
treec6b060ecc9d27a48c999151a60b744d0a540ca6d
parent2bc96c07a7ff7b17ed2b6826d2fc16c6b5f7a1b2
== Constraints - Code Cleanup ==

Simplified the code in two functions where checking for targets/subtargets could really have been done using Constraint API methods (constraint_has_target, get_constraint_target).
source/blender/blenkernel/intern/constraint.c
source/blender/src/editconstraint.c