From 2e9b92b5ccac07f63c1b535cfb25e013e01a141b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Apr 2018 12:30:14 +0200 Subject: Fix T54568: Undo memory de-duplication failed Error in 651b8fb14e caused de-duplication to fail. --- source/blender/blenkernel/BKE_undo_system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_undo_system.h') diff --git a/source/blender/blenkernel/BKE_undo_system.h b/source/blender/blenkernel/BKE_undo_system.h index 9697c7dd8e2..53ea8ddefe8 100644 --- a/source/blender/blenkernel/BKE_undo_system.h +++ b/source/blender/blenkernel/BKE_undo_system.h @@ -149,6 +149,7 @@ bool BKE_undosys_step_push_with_type(UndoStack *ustack, struct bContext *C, cons bool BKE_undosys_step_push(UndoStack *ustack, struct bContext *C, const char *name); UndoStep *BKE_undosys_step_find_by_name_with_type(UndoStack *ustack, const char *name, const UndoType *ut); +UndoStep *BKE_undosys_step_find_by_type(UndoStack *ustack, const UndoType *ut); UndoStep *BKE_undosys_step_find_by_name(UndoStack *ustack, const char *name); bool BKE_undosys_step_undo_with_data_ex(UndoStack *ustack, struct bContext *C, UndoStep *us, bool use_skip); -- cgit v1.2.3