Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-12-15 10:35:16 +0300
committerJoshua Leung <aligorith@gmail.com>2007-12-15 10:35:16 +0300
commitfaf638238dc5147fa3b9c5cc4999bda907acd6f7 (patch)
tree9d91470d9e5d233524c2aff5df87067a642d4ffe /source/blender/makesdna/DNA_constraint_types.h
parentb71d55b055ec0bd4be54b5d127eaab9d87e89b37 (diff)
== Auto-IK ==
-- Peach request (from wiki feature request list) -- When translating a bone using Auto-IK, you can now use the ScrollWheel on the Mouse or the Page Up/Down keys to adjust the chain length. Notes: * Up decreases the length, while Down increases it. * The previously used chain-length is stored per scene * Currently, it might be too sensitive. Also, it would help to have some kind of indication of the current chain-length somewhere... * The chain length specified this way determines the MAXIMUM chain length possible for all chains (if 0, then the default chain-length is used). Chains are clamped to have a chain length which does not exceed the default chain length. This restriction may be removed following further feedback...
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 1b289650e2c..7f9fa49e7a9 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -126,7 +126,8 @@ typedef struct bKinematicConstraint {
Object *tar;
short iterations; /* Maximum number of iterations to try */
short flag; /* Like CONSTRAINT_IK_TIP */
- int rootbone; /* index to rootbone, if zero go all the way to mother bone */
+ short rootbone; /* index to rootbone, if zero go all the way to mother bone */
+ short max_rootbone; /* for auto-ik, maximum length of chain */
char subtarget[32]; /* String to specify sub-object target */
Object *poletar; /* Pole vector target */