forked from bartvdbraak/blender
A bit more clear error message...
This commit is contained in:
parent
396222bd01
commit
4a8663d66e
@ -700,8 +700,7 @@ PyObject *BPy_BMO_call(BPy_BMeshOpFunc *self, PyObject *args, PyObject *kw)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PyErr_SetString(PyExc_TypeError,
|
PyErr_SetString(PyExc_TypeError,
|
||||||
"calling a bmesh operator expects a single BMesh (non keyword) "
|
"bmesh operators expect a single BMesh positional argument, all other args must be keywords");
|
||||||
"as the first argument");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user