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:
-rw-r--r--source/blender/editors/transform/transform_conversions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index 90a275883ae..df267254d8f 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -875,6 +875,12 @@ static short pose_grab_with_ik_add(bPoseChannel *pchan)
pchan = pchan->parent;
else
pchan = NULL;
+
+ /* but, constrainted bones can't get auto-ik transform applied, exclude these */
+ if(pchan && pchan->constraints.first) {
+ data->rootbone--;
+ pchan= NULL;
+ }
}
/* make a copy of maximum chain-length */