Armature Edit Mode: improve box/lasso select
authorCampbell Barton <ideasman42@gmail.com>
Thu, 13 Dec 2018 08:05:11 +0000 (19:05 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 13 Dec 2018 10:11:21 +0000 (21:11 +1100)
commitcef2a25518dd41beb5335e73e5b765926b1eb387
treea7838346ba5e2618dd35ffd43f15976838bfc565
parente79d7747d21f3d3079c759abe0f20a7904aded80
Armature Edit Mode: improve box/lasso select

Mostly rewrite logic which now matches (de)select picking,
share between both operators.

- Support all selection operations (eSelectOp), fixes T59255.

- Add function that selects using 'BONESEL_*' flags & eSelectOp.
  This avoids lasso & box select having to handle selection flushing.

- Fix strange behavior with lasso where selecting a bone in a chain
  would only select the tip (from 2.7x).
source/blender/editors/armature/armature_select.c
source/blender/editors/include/ED_armature.h
source/blender/editors/space_view3d/view3d_select.c