Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_outliner/outliner_select.c
| Show First 20 Lines • Show All 1,537 Lines • ▼ Show 20 Lines | static bool outliner_is_co_within_active_mode_column(bContext *C, | ||||
| return outliner_is_co_within_mode_column(space_outliner, view_mval) && obact && | return outliner_is_co_within_mode_column(space_outliner, view_mval) && obact && | ||||
| obact->mode != OB_MODE_OBJECT; | obact->mode != OB_MODE_OBJECT; | ||||
| } | } | ||||
| /** | /** | ||||
| * Action to run when clicking in the outliner, | * Action to run when clicking in the outliner, | ||||
| * | * | ||||
| * May expend/collapse branches or activate items. | * May expend/collapse branches or activate items. | ||||
| * */ | */ | ||||
| static int outliner_item_do_activate_from_cursor(bContext *C, | static int outliner_item_do_activate_from_cursor(bContext *C, | ||||
| const int mval[2], | const int mval[2], | ||||
| const bool extend, | const bool extend, | ||||
| const bool use_range, | const bool use_range, | ||||
| const bool deselect_all) | const bool deselect_all) | ||||
| { | { | ||||
| ARegion *region = CTX_wm_region(C); | ARegion *region = CTX_wm_region(C); | ||||
| SpaceOutliner *space_outliner = CTX_wm_space_outliner(C); | SpaceOutliner *space_outliner = CTX_wm_space_outliner(C); | ||||
| ▲ Show 20 Lines • Show All 449 Lines • Show Last 20 Lines | |||||