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 20:30:33 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-04-14 20:30:33 +0300
commitf73b3178f7667c06bbc30499e2e449b4e386b155 (patch)
tree47d348be817b2bcda9987c6c1368e7449ab04bf7 /source/blender/blenkernel
parent6a59e123649105a07316c87ac4dcc78a87fed532 (diff)
Fix T63599: fix the zero ease hack for the B-Bone end matrix.
Negate the second derivative, because it's effectively stepping back.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/armature.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c
index 890a62351c1..1b9e6dcdbc4 100644
--- a/source/blender/blenkernel/intern/armature.c
+++ b/source/blender/blenkernel/intern/armature.c
@@ -862,6 +862,7 @@ int BKE_pchan_bbone_spline_compute(BBoneSplineParameters *param, const bool for_
make_bbone_spline_matrix(param, scalemats, cur, axis, roll, scalefac, result_array[a].mat);
}
+ negate_v3(bezt_deriv2[1]);
ease_handle_axis(bezt_deriv1[2], bezt_deriv2[1], axis);
make_bbone_spline_matrix(param, scalemats, bezt_controls[3], axis, roll2, param->scaleOut, result_array[param->segments].mat);
}