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:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-04-14 16:26:47 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-04-14 16:26:47 +0300
commit00b966b83ac6277e2b33e976458279e954e52f45 (patch)
tree710df683ab9a1a447af47686b1efbd307d5fd232 /source/blender/makesrna/intern/rna_constraint.c
parentb42ae4b972a6ec8340f763b811663f9c08fb17c6 (diff)
Explain the Local With Parent coordinate space better.
Just saying "parent transformation added" doesn't really explain what this coordinate space does. Thus it seems almost nobody used it and serious bugs like T61981 went unnoticed.
Diffstat (limited to 'source/blender/makesrna/intern/rna_constraint.c')
-rw-r--r--source/blender/makesrna/intern/rna_constraint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c
index 4c6c7740ff8..bd7f75f86b5 100644
--- a/source/blender/makesrna/intern/rna_constraint.c
+++ b/source/blender/makesrna/intern/rna_constraint.c
@@ -115,8 +115,8 @@ static const EnumPropertyItem target_space_pchan_items[] = {
"The transformation of the target is only evaluated in the Pose Space, "
"the target armature object transformation is ignored"},
{CONSTRAINT_SPACE_PARLOCAL, "LOCAL_WITH_PARENT", 0, "Local With Parent",
- "The transformation of the target bone is evaluated relative its local "
- "coordinate system, with the parent transformation added"},
+ "The transformation of the target bone is evaluated relative to its rest pose "
+ "local coordinate system, thus including the parent-induced transformation"},
{CONSTRAINT_SPACE_LOCAL, "LOCAL", 0, "Local Space",
"The transformation of the target is evaluated relative to its local "
"coordinate system"},
@@ -129,8 +129,8 @@ static const EnumPropertyItem owner_space_pchan_items[] = {
{CONSTRAINT_SPACE_POSE, "POSE", 0, "Pose Space",
"The constraint is applied in Pose Space, the object transformation is ignored"},
{CONSTRAINT_SPACE_PARLOCAL, "LOCAL_WITH_PARENT", 0, "Local With Parent",
- "The constraint is applied relative to the local coordinate system of the object, "
- "with the parent transformation added"},
+ "The constraint is applied relative to the rest pose local coordinate system "
+ "of the bone, thus including the parent-induced transformation"},
{CONSTRAINT_SPACE_LOCAL, "LOCAL", 0, "Local Space",
"The constraint is applied relative to the local coordinate system of the object"},
{0, NULL, 0, NULL, NULL},