diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-03 09:35:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-03 09:35:42 +0300 |
commit | a0eb54142f244641041b0cb317cd09171105ad72 (patch) | |
tree | bf730ea540d2b44ffdb9c29cb4d379eb295737ee /source/blender/editors/include/ED_undo.h | |
parent | 31f2a6755db5bf9439e51701eddcadfca773459a (diff) |
Undo: replace global access w/ ED_undo_stack_get
While I'd like to avoid using this too much since the operator
system should handle.
It's less trouble than accessing it inline each time.
Diffstat (limited to 'source/blender/editors/include/ED_undo.h')
-rw-r--r-- | source/blender/editors/include/ED_undo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_undo.h b/source/blender/editors/include/ED_undo.h index 044d69cfced..b3814ab5899 100644 --- a/source/blender/editors/include/ED_undo.h +++ b/source/blender/editors/include/ED_undo.h @@ -51,6 +51,8 @@ void ED_undo_operator_repeat_cb_evt(struct bContext *C, void *arg_op, int arg bool ED_undo_is_valid(const struct bContext *C, const char *undoname); +struct UndoStack *ED_undo_stack_get(void); + /* undo_system_types.c */ void ED_undosys_type_init(void); void ED_undosys_type_free(void); |