Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-05-15 02:16:18 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-05-15 02:16:18 +0400
commit628bde206ff4bb35ecd6ff510211086c986dd9ed (patch)
tree3ff978971df6ef5d007b265e7641054aaf4b4143 /source/blender/freestyle/intern/python/BPy_Convert.cpp
parent11707119ded9616b5cb81e1be8eff56727cb4299 (diff)
Fix for a copy-and-paste bug in a Freestyle Python API helper function.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Convert.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Convert.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}