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>2020-06-10 10:50:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-10 11:04:01 +0300
commitfc8a7a44b200e37066a8753c514564c674eace30 (patch)
tree5693da7412b5ca8f9a5552b9c59754cf4c11c9b1 /source/blender/editors/include/ED_view3d.h
parentedb4e553f506c858e7df5e45ad6235cd59a181eb (diff)
Fix T77560: Bone selection crashes
The was caused by 8b347fc2cdc67 as the old BONESEL_NOSEL flag handled the -1 case (used for none). Instead of checking for -1, remove these elements from the array as selection code makes decisions based on the number of hits detected.
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r--source/blender/editors/include/ED_view3d.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index beca517f0a6..5e706856738 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -544,6 +544,13 @@ int view3d_opengl_select(struct ViewContext *vc,
const struct rcti *input,
eV3DSelectMode select_mode,
eV3DSelectObjectFilter select_filter);
+int view3d_opengl_select_with_id_filter(struct ViewContext *vc,
+ unsigned int *buffer,
+ unsigned int bufsize,
+ const struct rcti *input,
+ eV3DSelectMode select_mode,
+ eV3DSelectObjectFilter select_filter,
+ uint select_id);
/* view3d_select.c */
float ED_view3d_select_dist_px(void);