diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-05-02 18:03:56 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-05-02 18:03:56 +0400 |
commit | 4a8663d66e4d82b7a8b9a3f6155c6367b694e08c (patch) | |
tree | cf8df5e7ca195251fdbe112fa33035b7fe1907e2 /source/blender | |
parent | 396222bd01fc0786413d405679b94151eba485b2 (diff) |
A bit more clear error message...
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_ops_call.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_ops_call.c b/source/blender/python/bmesh/bmesh_py_ops_call.c index 4d728b76707..7ac4dd5d0b7 100644 --- a/source/blender/python/bmesh/bmesh_py_ops_call.c +++ b/source/blender/python/bmesh/bmesh_py_ops_call.c @@ -700,8 +700,7 @@ PyObject *BPy_BMO_call(BPy_BMeshOpFunc *self, PyObject *args, PyObject *kw) } else { PyErr_SetString(PyExc_TypeError, - "calling a bmesh operator expects a single BMesh (non keyword) " - "as the first argument"); + "bmesh operators expect a single BMesh positional argument, all other args must be keywords"); return NULL; } |