[Bf-blender-cvs] [1aa5b63661a] master: Docs: improve bmesh exception message
Campbell Barton
noreply at git.blender.org
Mon Oct 23 12:55:34 CEST 2017
Commit: 1aa5b63661a182957788cc8cbe6fa922ca376a6e
Author: Campbell Barton
Date: Mon Oct 23 21:57:32 2017 +1100
Branches: master
https://developer.blender.org/rB1aa5b63661a182957788cc8cbe6fa922ca376a6e
Docs: improve bmesh exception message
Suggested in T53131
===================================================================
M source/blender/python/bmesh/bmesh_py_types.c
===================================================================
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c
index 52ca475297d..9f184059a49 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -1465,7 +1465,7 @@ static PyObject *bpy_bmvert_calc_edge_angle(BPy_BMVert *self, PyObject *args)
else {
PyErr_SetString(PyExc_ValueError,
"BMVert.calc_edge_angle(): "
- "vert doesn't use 2 edges");
+ "vert must connect to exactly 2 edges");
return NULL;
}
}
More information about the Bf-blender-cvs
mailing list