merged pyrna_py_to_param and pyrna_py_to_prop since they are almost the same

This commit is contained in:
2009-04-16 13:21:18 +00:00
parent f47ab4f0ae
commit 82f710fb33
4 changed files with 77 additions and 227 deletions

View File

@@ -80,7 +80,7 @@ int PYOP_props_from_dict(PointerRNA *ptr, PyObject *kw)
break;
}
if (pyrna_py_to_prop(ptr, prop, item)) {
if (pyrna_py_to_prop(ptr, prop, NULL, item)) {
error_val= -1;
break;
}