diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-14 22:55:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-14 22:58:11 +0300 |
commit | 1adfabc8c62ed3f067d209511ce3d868e76c9bbd (patch) | |
tree | 74b47e4c8fd86eb673b65a6dbf85ca51e1f89e4c /source/blender/editors/include/ED_undo.h | |
parent | 7afa59e37a539174385d8a2484e2b17ae43e0a85 (diff) |
WM: revert part of Top-Bar inclusion
This removes OperatorRepeatContextHandle, from 5f6c45498c92b
since we now only have redo in the area an operator is executed in.
These values could be invalid and crashed in some cases.
Diffstat (limited to 'source/blender/editors/include/ED_undo.h')
-rw-r--r-- | source/blender/editors/include/ED_undo.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/include/ED_undo.h b/source/blender/editors/include/ED_undo.h index 5103ac97361..37744e7eb0f 100644 --- a/source/blender/editors/include/ED_undo.h +++ b/source/blender/editors/include/ED_undo.h @@ -52,14 +52,6 @@ int ED_undo_operator_repeat(struct bContext *C, struct wmOperator *op); void ED_undo_operator_repeat_cb(struct bContext *C, void *arg_op, void *arg_unused); void ED_undo_operator_repeat_cb_evt(struct bContext *C, void *arg_op, int arg_unused); -/* Context sanity helpers for operator repeat. */ -typedef struct OperatorRepeatContextHandle OperatorRepeatContextHandle; - -const OperatorRepeatContextHandle *ED_operator_repeat_prepare_context( - struct bContext *C, struct wmOperator *op) ATTR_WARN_UNUSED_RESULT; -void ED_operator_repeat_reset_context( - struct bContext *C, const OperatorRepeatContextHandle *context_info); - bool ED_undo_is_valid(const struct bContext *C, const char *undoname); struct UndoStack *ED_undo_stack_get(void); |