diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-04-29 15:49:25 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-04-30 12:34:22 +0300 |
commit | 3d0864200d357cac40415db3d9d9df57b45b4bcb (patch) | |
tree | 71b93d4a9deb4f204142051ef991f62dbfca0c91 | |
parent | 3644fef07c7462fc666e3b66dc9bb2f862f3372b (diff) |
Cleanup: make outliner_item_do_activate_from_cursor() static.
This function is only used in one place in one file, no point exposing
it in internal header currently...
-rw-r--r-- | source/blender/editors/space_outliner/outliner_intern.h | 4 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_select.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/source/blender/editors/space_outliner/outliner_intern.h b/source/blender/editors/space_outliner/outliner_intern.h index d532a1cbbb8..8211e3005c7 100644 --- a/source/blender/editors/space_outliner/outliner_intern.h +++ b/source/blender/editors/space_outliner/outliner_intern.h @@ -236,10 +236,6 @@ eOLDrawState tree_element_active(struct bContext *C, void outliner_item_do_activate_from_tree_element( struct bContext *C, TreeElement *te, TreeStoreElem *tselem, bool extend, bool recursive); -int outliner_item_do_activate_from_cursor(struct bContext *C, - const int mval[2], - bool extend, - bool recursive); void outliner_item_select(struct SpaceOutliner *soops, const struct TreeElement *te, diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c index 459736a730d..6cc147587a5 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -1297,10 +1297,10 @@ void outliner_item_do_activate_from_tree_element( * * May expend/collapse branches or activate items. * */ -int outliner_item_do_activate_from_cursor(bContext *C, - const int mval[2], - bool extend, - bool recursive) +static int outliner_item_do_activate_from_cursor(bContext *C, + const int mval[2], + bool extend, + bool recursive) { ARegion *ar = CTX_wm_region(C); SpaceOutliner *soops = CTX_wm_space_outliner(C); |