Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_outliner/outliner_dragdrop.c
| Show First 20 Lines • Show All 862 Lines • ▼ Show 20 Lines | if (changed) { | ||||
| ED_region_tag_redraw_no_rebuild(region); | ED_region_tag_redraw_no_rebuild(region); | ||||
| } | } | ||||
| return true; | return true; | ||||
| } | } | ||||
| static char *datastack_drop_tooltip(bContext *UNUSED(C), | static char *datastack_drop_tooltip(bContext *UNUSED(C), | ||||
| wmDrag *drag, | wmDrag *drag, | ||||
| const wmEvent *UNUSED(event), | const int UNUSED(xy[2]), | ||||
| struct wmDropBox *UNUSED(drop)) | struct wmDropBox *UNUSED(drop)) | ||||
| { | { | ||||
| StackDropData *drop_data = drag->poin; | StackDropData *drop_data = drag->poin; | ||||
| switch (drop_data->drop_action) { | switch (drop_data->drop_action) { | ||||
| case DATA_STACK_DROP_REORDER: | case DATA_STACK_DROP_REORDER: | ||||
| return BLI_strdup(TIP_("Reorder")); | return BLI_strdup(TIP_("Reorder")); | ||||
| break; | break; | ||||
| case DATA_STACK_DROP_COPY: | case DATA_STACK_DROP_COPY: | ||||
| ▲ Show 20 Lines • Show All 654 Lines • Show Last 20 Lines | |||||