diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-15 03:46:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-15 05:46:47 +0300 |
commit | ce85aef0d9f2df094f2859236dc75a2c7f70bfcd (patch) | |
tree | d1e0781b120ab280af1af6b8aa809376e57144ba /source/blender/python | |
parent | 4feb77cf03840dca4cc0b5e4b1a1256cd3b07c84 (diff) |
mathutils: remove redundant read callback
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Vector.c | 3 |
1 files changed, 0 insertions, 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; |