diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 17:56:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 18:06:07 +0300 |
commit | 899fc0331c40bb8ca6d3673a418fe7ee90c3613a (patch) | |
tree | d127e0013dea28262e0f8f9e110fcf2265caf736 /source/blender/editors/include/ED_select_utils.h | |
parent | 7a937436ab14ec05542b3539a6262c7e78b3929b (diff) |
BLI_kdtree: use 1d tree for select similar
Diffstat (limited to 'source/blender/editors/include/ED_select_utils.h')
-rw-r--r-- | source/blender/editors/include/ED_select_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_select_utils.h b/source/blender/editors/include/ED_select_utils.h index 87045be9932..04ea1769c09 100644 --- a/source/blender/editors/include/ED_select_utils.h +++ b/source/blender/editors/include/ED_select_utils.h @@ -21,7 +21,7 @@ #ifndef __ED_SELECT_UTILS_H__ #define __ED_SELECT_UTILS_H__ -struct KDTree_3d; +struct KDTree_1d; enum { SEL_TOGGLE = 0, @@ -55,7 +55,7 @@ int ED_select_op_action(const eSelectOp sel_op, const bool is_select, const bool int ED_select_op_action_deselected(const eSelectOp sel_op, const bool is_select, const bool is_inside); int ED_select_similar_compare_float(const float delta, const float thresh, const int compare); -bool ED_select_similar_compare_float_tree(const struct KDTree_3d *tree, const float length, const float thresh, const int compare); +bool ED_select_similar_compare_float_tree(const struct KDTree_1d *tree, const float length, const float thresh, const int compare); eSelectOp ED_select_op_modal(const eSelectOp sel_op, const bool is_first); |