Fix T38104: mathutils.cell_vector() always returns (0,0,0)
Reviewed By: brecht
This commit is contained in:
@@ -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[] = {
|
||||
|
Reference in New Issue
Block a user