Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-05-02 18:03:56 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-05-02 18:03:56 +0400
commit4a8663d66e4d82b7a8b9a3f6155c6367b694e08c (patch)
treecf8df5e7ca195251fdbe112fa33035b7fe1907e2 /source/blender/python/bmesh/bmesh_py_ops_call.c
parent396222bd01fc0786413d405679b94151eba485b2 (diff)
A bit more clear error message...
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_ops_call.c')
-rw-r--r--source/blender/python/bmesh/bmesh_py_ops_call.c3
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;
}