Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/view3d_select.c
| Show First 20 Lines • Show All 2,488 Lines • ▼ Show 20 Lines | if (retval) { | ||||
| } | } | ||||
| else { | else { | ||||
| ED_outliner_select_sync_from_object_tag(C); | ED_outliner_select_sync_from_object_tag(C); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* Pass-through allows tweaks | /* Pass-through allows tweaks | ||||
| * FINISHED to signal one operator worked | * FINISHED to signal one operator worked. */ | ||||
| * */ | |||||
| if (retval) { | if (retval) { | ||||
| WM_event_add_notifier(C, NC_SCENE | ND_OB_SELECT, scene); | WM_event_add_notifier(C, NC_SCENE | ND_OB_SELECT, scene); | ||||
| return OPERATOR_PASS_THROUGH | OPERATOR_FINISHED; | return OPERATOR_PASS_THROUGH | OPERATOR_FINISHED; | ||||
| } | } | ||||
| return OPERATOR_PASS_THROUGH; /* nothing selected, just passthrough */ | return OPERATOR_PASS_THROUGH; /* nothing selected, just passthrough */ | ||||
| } | } | ||||
| static int view3d_select_invoke(bContext *C, wmOperator *op, const wmEvent *event) | static int view3d_select_invoke(bContext *C, wmOperator *op, const wmEvent *event) | ||||
| ▲ Show 20 Lines • Show All 1,673 Lines • Show Last 20 Lines | |||||