diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-17 08:41:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-17 09:40:06 +0400 |
commit | b3ea4ec90cad7362421e34f2a8f1b8b84f31a9f6 (patch) | |
tree | bf0f373b1c4870e32870296a0b8b00f33f9f87be /source/blender/freestyle/intern/python/BPy_Convert.h | |
parent | cda89813dfc2261cd65822d26df8061a3097c85e (diff) |
Py API: use direct access to list/tuple size when type is known
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Convert.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Convert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Convert.h b/source/blender/freestyle/intern/python/BPy_Convert.h index a8bc7eaa306..b7e798dfa63 100644 --- a/source/blender/freestyle/intern/python/BPy_Convert.h +++ b/source/blender/freestyle/intern/python/BPy_Convert.h @@ -165,7 +165,7 @@ bool Vec2f_ptr_from_PyTuple(PyObject *obj, Vec2f *vec); bool Vec3f_ptr_from_PyTuple(PyObject *obj, Vec3f *vec); bool Vec3r_ptr_from_PyTuple(PyObject *obj, Vec3r *vec); -int float_array_from_PyObject(PyObject *obj, float *v, int n); +bool float_array_from_PyObject(PyObject *obj, float *v, int n); /////////////////////////////////////////////////////////////////////////////////////////// |