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>2019-02-07 12:27:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-07 12:28:33 +0300
commit937731dff1af4910dc94646904106432c14b2042 (patch)
treed2fb05a3b8f774e68df1e94dba2f380cd38d9701 /source/blender/editors/include
parent075a1221907f33c8634cc6e38238f6729334c716 (diff)
Fix T61272: Undo fails to track multi-edit mode enter/exit
Objects leaving edit-mode weren't restored by edit-mode undo steps.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_undo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_undo.h b/source/blender/editors/include/ED_undo.h
index 3486761c19f..3a45e2c3b68 100644
--- a/source/blender/editors/include/ED_undo.h
+++ b/source/blender/editors/include/ED_undo.h
@@ -23,7 +23,9 @@
#include "BLI_compiler_attrs.h"
struct CLG_LogRef;
+struct Object;
struct UndoStack;
+struct ViewLayer;
struct bContext;
struct wmOperator;
struct wmOperatorType;
@@ -51,6 +53,10 @@ bool ED_undo_is_valid(const struct bContext *C, const char *undoname);
bool ED_undo_is_memfile_compatible(const struct bContext *C);
+void ED_undo_object_editmode_restore_helper(
+ struct bContext *C,
+ struct Object **object_array, uint object_array_len, uint object_array_stride);
+
struct UndoStack *ED_undo_stack_get(void);
/* helpers */