Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_handlers.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 838 Lines • ▼ Show 20 Lines | for (afterf = funcs.first; afterf; afterf = after.next) { | ||||
| if (after.rename_func) { | if (after.rename_func) { | ||||
| after.rename_func(C, after.rename_arg1, after.rename_orig); | after.rename_func(C, after.rename_arg1, after.rename_orig); | ||||
| } | } | ||||
| if (after.rename_orig) { | if (after.rename_orig) { | ||||
| MEM_freeN(after.rename_orig); | MEM_freeN(after.rename_orig); | ||||
| } | } | ||||
| if (after.undostr[0]) { | if (after.undostr[0]) { | ||||
| ED_undo_push(C, after.undostr); | ED_undo_push_main(C, after.undostr); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| static void ui_apply_but_BUT(bContext *C, uiBut *but, uiHandleButtonData *data) | static void ui_apply_but_BUT(bContext *C, uiBut *but, uiHandleButtonData *data) | ||||
| { | { | ||||
| ui_apply_but_func(C, but); | ui_apply_but_func(C, but); | ||||
| ▲ Show 20 Lines • Show All 9,573 Lines • Show Last 20 Lines | |||||