From ce85aef0d9f2df094f2859236dc75a2c7f70bfcd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 15 Feb 2015 11:46:43 +1100 Subject: [PATCH] mathutils: remove redundant read callback --- source/blender/python/mathutils/mathutils_Vector.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index ef6b2c9759f..500a922dac9 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -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;