From ee9a00948b950f8361ef280b5f88674721a6698f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 14 Mar 2012 06:14:15 +0000 Subject: mathutils py api: Vector.angle_signed(other) for 2D vectors to get the clockwise angle between them. in BLI math its called - angle_signed_v2v2() shorthand for... atan2f((v1[1] * v2[0]) - (v1[0] * v2[1]), dot_v2v2(v1, v2)) also corrects compile error in last commit. --- source/blender/python/bmesh/bmesh_py_select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/bmesh') diff --git a/source/blender/python/bmesh/bmesh_py_select.c b/source/blender/python/bmesh/bmesh_py_select.c index a9fb5b2b018..37beb43eeb5 100644 --- a/source/blender/python/bmesh/bmesh_py_select.c +++ b/source/blender/python/bmesh/bmesh_py_select.c @@ -122,7 +122,7 @@ static PyObject *bpy_bmeditselseq_add(BPy_BMEditSelSeq *self, BPy_BMElem *value) return NULL; } - BM_select_history_store(self->bm, value->ele) + BM_select_history_store(self->bm, value->ele); Py_RETURN_NONE; } -- cgit v1.2.3