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
path: root/extern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-07-25 08:12:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-07-25 08:12:46 +0300
commitf4cb6d45d50d5fa45bcb78236725924219c9b038 (patch)
treef188455c1f177d2902136c11513341e7773604a9 /extern
parent2aa5e44b5d496c7c1836e52a8277cb2db2e3c0ea (diff)
Error in curve update, uninitialized var use
Diffstat (limited to 'extern')
-rw-r--r--extern/curve_fit_nd/intern/curve_fit_cubic_refit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c b/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c
index 756c093b193..c701f28f131 100644
--- a/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c
+++ b/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c
@@ -1184,7 +1184,7 @@ int curve_fit_cubic_to_points_refit_db(
copy_vnvn(knots[0].tan[0], tan_prev, dims);
copy_vnvn(knots[0].tan[1], tan_prev, dims);
knots[0].handles[0] = len_prev / 3;
- knots[0].handles[1] = len_next / 3;
+ knots[0].handles[1] = len_prev / 3;
for (uint i_curr = 1, i_next = 2; i_next < knots_len; i_curr = i_next++) {
struct Knot *k = &knots[i_curr];