diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-09 01:22:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-09 01:25:33 +0300 |
commit | 4ab322fdd2e019ba337b2560a2d36f2175c03a32 (patch) | |
tree | 70b96aa813a69a0d5d1abc62e5d170e0e83fdb50 /source/blender/editors/space_view3d | |
parent | c837bd5ea55978276adf5ab07fb8146b3c468375 (diff) |
3D View: use cache for armature select
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c index 0b3468f2c23..0c0a7df8f84 100644 --- a/source/blender/editors/space_view3d/view3d_select.c +++ b/source/blender/editors/space_view3d/view3d_select.c @@ -1211,7 +1211,6 @@ static int mixed_bones_object_selectbuffer( bool *r_do_nearest) { rcti rect; - int offs; int hits15, hits9 = 0, hits5 = 0; bool has_bones15 = false, has_bones9 = false, has_bones5 = false; static int last_mval[2] = {-100, -100}; @@ -1253,6 +1252,7 @@ static int mixed_bones_object_selectbuffer( goto finally; } else if (hits15 > 0) { + int offs; has_bones15 = selectbuffer_has_bones(buffer, hits15); offs = 4 * hits15; |