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:
authorDenis Declara <declara91@gmail.com>2014-01-09 02:03:09 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-09 02:03:09 +0400
commit55f7a4aebc9c59ffd9d3a4e599074ec5528a0843 (patch)
tree8c1155f80e5c090c4bd1fe18370129cb0e5ae257 /source/blender/python/mathutils/mathutils_noise.c
parentb4644c658bb06ed9125bde0f43804a41649f4570 (diff)
Fix T38104: mathutils.cell_vector() always returns (0,0,0)
Reviewed By: brecht
Diffstat (limited to 'source/blender/python/mathutils/mathutils_noise.c')
-rw-r--r--source/blender/python/mathutils/mathutils_noise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_noise.c b/source/blender/python/mathutils/mathutils_noise.c
index dd4d2805ee2..fe2b00387b3 100644
--- a/source/blender/python/mathutils/mathutils_noise.c
+++ b/source/blender/python/mathutils/mathutils_noise.c
@@ -792,7 +792,7 @@ static PyObject *M_Noise_cell_vector(PyObject *UNUSED(self), PyObject *args)
return NULL;
cellNoiseV(vec[0], vec[1], vec[2], r_vec);
- return Vector_CreatePyObject(NULL, 3, Py_NEW, NULL);
+ return Vector_CreatePyObject(r_vec, 3, Py_NEW, NULL);
}
static PyMethodDef M_Noise_methods[] = {