mathutils: remove redundant read callback

This commit is contained in:
Campbell Barton
2015-02-15 11:46:43 +11:00
parent 4feb77cf03
commit ce85aef0d9

View File

@@ -1123,9 +1123,6 @@ static PyObject *Vector_project(VectorObject *self, PyObject *value)
double dot = 0.0f, dot2 = 0.0f;
int x;
if (BaseMath_ReadCallback(self) == -1)
return NULL;
if (mathutils_array_parse(tvec, size, size, value, "Vector.project(other), invalid 'other' arg") == -1)
return NULL;