forked from bartvdbraak/blender
return value was included in the list of optional args for function-rna error message
This commit is contained in:
parent
11ca70b42d
commit
901962c621
@ -2671,6 +2671,9 @@ static PyObject * pyrna_func_call(PyObject *self, PyObject *args, PyObject *kw)
|
|||||||
RNA_parameter_list_begin(&parms, &iter);
|
RNA_parameter_list_begin(&parms, &iter);
|
||||||
for(; iter.valid; RNA_parameter_list_next(&iter)) {
|
for(; iter.valid; RNA_parameter_list_next(&iter)) {
|
||||||
parm= iter.parm;
|
parm= iter.parm;
|
||||||
|
if(RNA_property_flag(parm) & PROP_RETURN)
|
||||||
|
continue;
|
||||||
|
|
||||||
BLI_dynstr_appendf(good_args, first ? "%s" : ", %s", RNA_property_identifier(parm));
|
BLI_dynstr_appendf(good_args, first ? "%s" : ", %s", RNA_property_identifier(parm));
|
||||||
first= FALSE;
|
first= FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user