From 628bde206ff4bb35ecd6ff510211086c986dd9ed Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Tue, 14 May 2013 22:16:18 +0000 Subject: [PATCH] Fix for a copy-and-paste bug in a Freestyle Python API helper function. --- source/blender/freestyle/intern/python/BPy_Convert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/freestyle/intern/python/BPy_Convert.cpp b/source/blender/freestyle/intern/python/BPy_Convert.cpp index c684eaf483e..3b1232c51af 100644 --- a/source/blender/freestyle/intern/python/BPy_Convert.cpp +++ b/source/blender/freestyle/intern/python/BPy_Convert.cpp @@ -704,7 +704,7 @@ int float_array_from_PyObject(PyObject *obj, float *v, int n) return float_array_from_PyList(obj, v, n); } else if (PyTuple_Check(obj) && PyTuple_Size(obj) == n) { - return float_array_from_PyList(obj, v, n); + return float_array_from_PyTuple(obj, v, n); } return 0; }