Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/util/undo.c
| Context not available. | |||||
| ED_undo_pop_op(C, op); | ED_undo_pop_op(C, op); | ||||
| if (op->type->check) { | if (op->type->check) { | ||||
| op->type->check(C, op); /* ignore return value since its running again anyway */ | if (op->type->check(C, op)) { | ||||
| /* check for popup and re-layout buttons */ | |||||
| ARegion *ar_menu = CTX_wm_menu(C); | |||||
| if (ar_menu) { | |||||
| ED_region_tag_refresh_ui(ar_menu); | |||||
| } | |||||
| } | |||||
| } | } | ||||
| retval = WM_operator_repeat(C, op); | retval = WM_operator_repeat(C, op); | ||||
| Context not available. | |||||