From 9e56c570c3fbca4bae9a1da24828b6e640299f99 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 1 Dec 2015 18:52:24 +1100 Subject: Cleanup: use more logical names for View3D.around D1651 (own patch) --- source/blender/editors/armature/armature_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c index 5a0e70dc5dd..94b7277ce8f 100644 --- a/source/blender/editors/armature/armature_edit.c +++ b/source/blender/editors/armature/armature_edit.c @@ -156,7 +156,7 @@ void ED_armature_origin_set(Scene *scene, Object *ob, float cursor[3], int cente mul_m4_v3(ob->imat, cent); } else { - if (around == V3D_CENTROID) { + if (around == V3D_AROUND_CENTER_MEAN) { int total = 0; zero_v3(cent); for (ebone = arm->edbo->first; ebone; ebone = ebone->next) { -- cgit v1.2.3