diff options
author | Ton Roosendaal <ton@blender.org> | 2006-06-21 18:20:43 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-06-21 18:20:43 +0400 |
commit | c435b0f5d72d9c3a93d635a6ecead0084e4d35f5 (patch) | |
tree | 1899bfeddf35afc4fce02d648ccda7e3bf25fd82 /source/blender/python/api2_2x/Noise.c | |
parent | fc98a121fcd498dde7e7ae0852ca84458e607e23 (diff) |
And another syntax error for Python Noise api, this time a crasher even.
(Thanks Tim!)
Diffstat (limited to 'source/blender/python/api2_2x/Noise.c')
-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 f3d53a35448..060dedb9801 100644 --- a/source/blender/python/api2_2x/Noise.c +++ b/source/blender/python/api2_2x/Noise.c @@ -178,7 +178,7 @@ static PyObject *Noise_noise( PyObject * self, PyObject * args ) { float x, y, z; int nb = 1; - if( !PyArg_ParseTuple( args, "(fff)|ii", &x, &y, &z, &nb ) ) + if( !PyArg_ParseTuple( args, "(fff)|i", &x, &y, &z, &nb ) ) return NULL; return Py_BuildValue( "f", 2.0 * BLI_gNoise( 1.0, x, y, z, 0, nb ) - 1.0 ); |