diff options
-rw-r--r-- | source/blender/python/mathutils/mathutils_noise.c | 2 |
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[] = { |