Expose batch IDs deletion in python API.

Follow-up to previous commit.
This commit is contained in:
2019-01-16 11:58:11 +01:00
parent ce6d20b54e
commit 514e53bb80
3 changed files with 81 additions and 1 deletions

View File

@@ -134,7 +134,7 @@ static PyObject *bpy_lib_write(PyObject *UNUSED(self), PyObject *args, PyObject
if (!pyrna_id_FromPyObject(key, &id_store->id)) {
PyErr_Format(PyExc_TypeError,
"Expected and ID type, not %.200s",
"Expected an ID type, not %.200s",
Py_TYPE(key)->tp_name);
ret = NULL;
goto finally;