Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_operators.c
| Context not available. | |||||
| /* only for operators that are registered and did an undo push */ | /* only for operators that are registered and did an undo push */ | ||||
| LISTBASE_FOREACH_BACKWARD (wmOperator *, op, &wm->operators) { | LISTBASE_FOREACH_BACKWARD (wmOperator *, op, &wm->operators) { | ||||
| if (op->type->flag & OPTYPE_REDO_PANEL_BARRIER) { | |||||
| break; | |||||
| } | |||||
| if ((op->type->flag & OPTYPE_REGISTER) && (op->type->flag & OPTYPE_UNDO)) { | if ((op->type->flag & OPTYPE_REGISTER) && (op->type->flag & OPTYPE_UNDO)) { | ||||
| return op; | return op; | ||||
| } | } | ||||
| Context not available. | |||||