diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 15:09:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 15:09:22 +0300 |
commit | 3c10de2c9b49589d2943ffb5b235e7930f3a4d17 (patch) | |
tree | a7afb84dec674deef90b9b324ff9180fcd8b7525 /source/blender/editors/include | |
parent | 3982d3c171522ca730685dd7a14c7dca663d8fe3 (diff) |
3D View: avoid redundant circle select updates
This refreshes on cursor motion so it's worth avoiding redundant
updates, especially for multi-object edit-modes where many objects
aren't even near the object being selected.
This commit also moves to passing eSelectOp to circle select functions
in preparation for adding a select mode tool option.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_particle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_particle.h b/source/blender/editors/include/ED_particle.h index 7a612d1f4d9..bbecffee9c0 100644 --- a/source/blender/editors/include/ED_particle.h +++ b/source/blender/editors/include/ED_particle.h @@ -55,7 +55,7 @@ void PE_update_object( /* selection tools */ int PE_mouse_particles(struct bContext *C, const int mval[2], bool extend, bool deselect, bool toggle); int PE_box_select(struct bContext *C, const struct rcti *rect, const int sel_op); -int PE_circle_select(struct bContext *C, int selecting, const int mval[2], float rad); +bool PE_circle_select(struct bContext *C, int sel_op, const int mval[2], float rad); int PE_lasso_select(struct bContext *C, const int mcords[][2], const short moves, const int sel_op); void PE_deselect_all_visible(struct PTCacheEdit *edit); |