From ad1ea9a427e3543a43ca2589f87f0c94b9be03ca Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 5 Apr 2018 15:22:33 +0200 Subject: Undo: split text undo steps out of the data-block This moves undo storage into a separate struct which is passed in from the undo system. --- source/blender/editors/undo/undo_system_types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/undo') diff --git a/source/blender/editors/undo/undo_system_types.c b/source/blender/editors/undo/undo_system_types.c index f1ef444337c..4dbd22d6d22 100644 --- a/source/blender/editors/undo/undo_system_types.c +++ b/source/blender/editors/undo/undo_system_types.c @@ -62,7 +62,7 @@ void ED_undosys_type_init(void) BKE_UNDOSYS_TYPE_PAINTCURVE = BKE_undosys_type_append(ED_paintcurve_undosys_type); /* Text editor */ - BKE_undosys_type_append(ED_text_undosys_type); + BKE_UNDOSYS_TYPE_TEXT = BKE_undosys_type_append(ED_text_undosys_type); /* Keep global undo last (as a fallback). */ BKE_UNDOSYS_TYPE_MEMFILE = BKE_undosys_type_append(ED_memfile_undosys_type); -- cgit v1.2.3