memory corruption error fix when changing orderU/Vs with curves, this could crash...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 18 May 2008 18:44:02 +0000 (18:44 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 18 May 2008 18:44:02 +0000 (18:44 +0000)
commitc526b1b2df09211bead73a7297992a002dc787e4
treeb1e7da1698d9e579d2fd1918acda6c1a66d8f5ad
parent055dc10c14368ddb9215393e57798776b81a6adf
memory corruption error fix when changing orderU/Vs with curves, this could crash blender or make odd display lists.
the problem was that the buttons would use the first nurb if there was no 'lastnu', but the makeknots function only checked for lastnu. this meant the knots would not get re-allocated on
values would be written outside the array.
source/blender/blenkernel/intern/curve.c
source/blender/src/buttons_editing.c