Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2007-06-05 19:11:39 +0400
committerKent Mein <mein@cs.umn.edu>2007-06-05 19:11:39 +0400
commitd01d36ddd63960ba6a88a3bb928371d92cd3a270 (patch)
tree03a4a24b50e35262aa908161893297546b6ac287 /source/blender/python/api2_2x/Noise.c
parent25935dbdb10dc905b5963951c339447aa181654b (diff)
Another bug found thanks to Coverity.
typo was indexing past last element in an array. Kent
Diffstat (limited to 'source/blender/python/api2_2x/Noise.c')
-rw-r--r--source/blender/python/api2_2x/Noise.c2
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] );
}
/*-------------------------------------------------------------------------*/