add BLI_rcti,f_recenter()

fix for uninitialized variable use in radial_control_get_properties() and bad cast in bpy api's foreach_parse_args()
This commit is contained in:
2013-03-19 10:54:52 +00:00
parent 0f3515d4e2
commit d466e1d3b4
5 changed files with 18 additions and 8 deletions

View File

@@ -4339,7 +4339,7 @@ static int foreach_parse_args(BPy_PropertyRNA *self, PyObject *args,
if (!PySequence_Check(*seq) && PyObject_CheckBuffer(*seq)) {
PyErr_Format(PyExc_TypeError,
"foreach_get/set expected second argument to be a sequence or buffer, not a %.200s",
Py_TYPE(seq)->tp_name);
Py_TYPE(*seq)->tp_name);
return -1;
}