diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-04 10:26:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-04 10:41:04 +0300 |
commit | 0964ae5266541f09a1d54d8941393bada97d08a2 (patch) | |
tree | 7ccecb3f1a756562627985c91cb0795b065be8a9 /source/blender/editors/include/ED_undo.h | |
parent | d09646a40b1928308025d8ceb2c2d505651fc9a4 (diff) |
Fix T73234: Undo/redo with local collection crashes
Resolves crashes when edit-mode undo data wasn't included
because it wasn't visible, also resolves T73416.
Diffstat (limited to 'source/blender/editors/include/ED_undo.h')
-rw-r--r-- | source/blender/editors/include/ED_undo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_undo.h b/source/blender/editors/include/ED_undo.h index fa2630ba726..1fbf2f96cfa 100644 --- a/source/blender/editors/include/ED_undo.h +++ b/source/blender/editors/include/ED_undo.h @@ -23,6 +23,7 @@ #include "BLI_compiler_attrs.h" +struct Base; struct CLG_LogRef; struct Object; struct UndoStack; @@ -62,6 +63,10 @@ void ED_undo_object_editmode_restore_helper(struct bContext *C, uint object_array_len, uint object_array_stride); +struct Object **ED_undo_editmode_objects_from_view_layer(struct ViewLayer *view_layer, + uint *r_len); +struct Base **ED_undo_editmode_bases_from_view_layer(struct ViewLayer *view_layer, uint *r_len); + struct UndoStack *ED_undo_stack_get(void); /* helpers */ |