diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-05 16:22:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-05 16:22:33 +0300 |
commit | ad1ea9a427e3543a43ca2589f87f0c94b9be03ca (patch) | |
tree | 267fcc16524cd1336d2a55d08a497025a552d825 /source/blender/makesrna | |
parent | 79c3c5689416014afd4fe417fac404c34b7a6cf0 (diff) |
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.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_text_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_text_api.c b/source/blender/makesrna/intern/rna_text_api.c index 0287f74587b..d7a862fecbc 100644 --- a/source/blender/makesrna/intern/rna_text_api.c +++ b/source/blender/makesrna/intern/rna_text_api.c @@ -40,13 +40,13 @@ static void rna_Text_clear(Text *text) { - BKE_text_clear(text); + BKE_text_clear(text, NULL); WM_main_add_notifier(NC_TEXT | NA_EDITED, text); } static void rna_Text_write(Text *text, const char *str) { - BKE_text_write(text, str); + BKE_text_write(text, NULL, str); WM_main_add_notifier(NC_TEXT | NA_EDITED, text); } |