Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-04-03 09:35:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-03 09:35:42 +0300
commita0eb54142f244641041b0cb317cd09171105ad72 (patch)
treebf730ea540d2b44ffdb9c29cb4d379eb295737ee /source/blender/editors/include/ED_undo.h
parent31f2a6755db5bf9439e51701eddcadfca773459a (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.h2
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);