Fix T38104: mathutils.cell_vector() always returns (0,0,0)
Reviewed By: brecht
This commit is contained in:
parent
b4644c658b
commit
55f7a4aebc
Notes:
blender-bot
2023-02-14 20:11:59 +01:00
Referenced by issue blender/blender-addons#38104, mathutils.cell_vector() always returns (0,0,0)
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in New Issue