calc_curve_deform was using axis range of 1-6, but other parts of the code use 0...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 31 Jan 2012 21:32:06 +0000 (21:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 31 Jan 2012 21:32:06 +0000 (21:32 +0000)
commit2050ab09a5514290402f53a0ae0331763b8c1cf9
tree3298de4c65388de0343867683e97095c90ffe907
parent888187fa8cb32b9ec53da3ab07f77bebf8f9a39a
calc_curve_deform was using axis range of 1-6, but other parts of the code use 0-5. (confusion here casued an error in the code).

make calc_curve_deform use 0-5 too, only minor changes needed.
source/blender/blenkernel/intern/lattice.c
source/blender/modifiers/intern/MOD_curve.c