diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-09-24 20:02:40 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-09-24 20:22:02 +0400 |
commit | fc3753b8f6f404d5fa1079e3d01ef6e818dde8eb (patch) | |
tree | 7022d90c1f38ec8a6f927c0383e0711b7755afae /source/blender/editors/space_view3d/view3d_select.c | |
parent | 345b16601cfb8e50ca03f883902ee070c1630c2f (diff) |
gooseberry request:
Attempt to select closest bones when possible.
Occlusion query selection does't support this well because we can't
really derive depth information from occlusion tests. May be possible to
improve this somewhat in the future.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_select.c')
-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 c26ce276dc3..ad716d1a98f 100644 --- a/source/blender/editors/space_view3d/view3d_select.c +++ b/source/blender/editors/space_view3d/view3d_select.c @@ -1522,7 +1522,7 @@ static bool mouse_select(bContext *C, const int mval[2], } } } - else if (ED_do_pose_selectbuffer(scene, basact, buffer, hits, extend, deselect, toggle) ) { + else if (ED_do_pose_selectbuffer(scene, basact, buffer, hits, extend, deselect, toggle, do_nearest)) { /* then bone is found */ /* we make the armature selected: |