Commit: 397bc8748658eb7dbfa33eab6a1660248a77377e
Author: Sergey Sharybin
Date:   Fri Jul 18 14:44:05 2014 +0600
https://developer.blender.org/rB397bc8748658eb7dbfa33eab6a1660248a77377e

Fix T41039: Hook modifier sometimes fails to retain correct bezier curve point 
assignment

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

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

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

diff --git a/source/blender/editors/curve/editcurve.c 
b/source/blender/editors/curve/editcurve.c
index 30f6e59..11c8b11 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -1191,7 +1191,7 @@ static int *initialize_index_map(Object *obedit, int 
*r_old_totvert)
 
        for (nu = editnurb->nurbs.first, vertex_index = 0;
             nu != NULL;
-            nu = nu->next, vertex_index++)
+            nu = nu->next)
        {
                if (nu->bezt) {
                        BezTriple *bezt = nu->bezt;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to