[Bf-blender-cvs] [7a7c579dd93] master: Fix T56404: Shape keys of the curves with multiple splines go haywire in edit mode.

Bastien Montagne noreply at git.blender.org
Thu Aug 16 15:49:15 CEST 2018


Commit: 7a7c579dd9367783de5f1ea1a2bba91572e3009a
Author: Bastien Montagne
Date:   Thu Aug 16 15:46:40 2018 +0200
Branches: master
https://developer.blender.org/rB7a7c579dd9367783de5f1ea1a2bba91572e3009a

Fix T56404: Shape keys of the curves with multiple splines go haywire in edit mode.

Very dummy mistake (someone forgot to increment one of the variables in
one of the loops in that spaghetti nightmare that is nurbs shapekey
code), took half an age to spot it... :/

===================================================================

M	source/blender/editors/curve/editcurve.c

===================================================================

diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 8dd811c3df7..b046e1b6ae7 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -840,6 +840,7 @@ static void calc_shapeKeys(Object *obedit, ListBase *newnurbs)
 				}
 
 				nu = nu->next;
+				newnu = newnu->next;
 			}
 
 			if (apply_offset) {



More information about the Bf-blender-cvs mailing list