diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-06-05 19:11:39 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-06-05 19:11:39 +0400 |
commit | d01d36ddd63960ba6a88a3bb928371d92cd3a270 (patch) | |
tree | 03a4a24b50e35262aa908161893297546b6ac287 /source | |
parent | 25935dbdb10dc905b5963951c339447aa181654b (diff) |
Another bug found thanks to Coverity.
typo was indexing past last element in an array.
Kent
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Noise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Noise.c b/source/blender/python/api2_2x/Noise.c index 821c541b4ac..5253ea810b0 100644 --- a/source/blender/python/api2_2x/Noise.c +++ b/source/blender/python/api2_2x/Noise.c @@ -434,7 +434,7 @@ static PyObject *Noise_voronoi( PyObject * self, PyObject * args ) da[0], da[1], da[2], da[3], pa[0], pa[1], pa[2], pa[3], pa[4], pa[5], - pa[6], pa[7], pa[8], pa[9], pa[10], pa[12] ); + pa[6], pa[7], pa[8], pa[9], pa[10], pa[11] ); } /*-------------------------------------------------------------------------*/ |