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:
authorCampbell Barton <ideasman42@gmail.com>2017-08-15 10:42:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-15 10:42:59 +0300
commited3c3992ad69a442378342a4d2672aea39b3d663 (patch)
treeaa9b1f2e91c496d8d15f4865fdc8abb5ad1ede08
parentd3ba86de07debf9f85a954d845038b09847d8057 (diff)
Error in last commit
Get/set mismatch, reading from pchan, writing to bone.
-rw-r--r--source/blender/editors/space_view3d/view3d_manipulator_armature.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/view3d_manipulator_armature.c b/source/blender/editors/space_view3d/view3d_manipulator_armature.c
index 94136eb6eeb..5d3d88ff2a2 100644
--- a/source/blender/editors/space_view3d/view3d_manipulator_armature.c
+++ b/source/blender/editors/space_view3d/view3d_manipulator_armature.c
@@ -116,13 +116,13 @@ static void manipulator_bbone_offset_set(
if (bh->index == 0) {
pchan->bone->ease1 = max_ff(0.0f, bh->co[1] * BBONE_SCALE_Y);
- pchan->bone->curveInX = bh->co[0];
- pchan->bone->curveInY = bh->co[2];
+ pchan->curveInX = bh->co[0];
+ pchan->curveInY = bh->co[2];
}
else {
pchan->bone->ease2 = max_ff(0.0f, -bh->co[1] * BBONE_SCALE_Y);
- pchan->bone->curveOutX = bh->co[0];
- pchan->bone->curveOutY = bh->co[2];
+ pchan->curveOutX = bh->co[0];
+ pchan->curveOutY = bh->co[2];
}
}