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:
authorCampbell Barton <ideasman42@gmail.com>2017-03-09 01:22:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-09 01:25:33 +0300
commit4ab322fdd2e019ba337b2560a2d36f2175c03a32 (patch)
tree70b96aa813a69a0d5d1abc62e5d170e0e83fdb50 /source/blender/editors/space_view3d/view3d_select.c
parentc837bd5ea55978276adf5ab07fb8146b3c468375 (diff)
3D View: use cache for armature select
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_select.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_select.c2
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;