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>2018-04-05 16:22:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-05 16:22:33 +0300
commitad1ea9a427e3543a43ca2589f87f0c94b9be03ca (patch)
tree267fcc16524cd1336d2a55d08a497025a552d825 /source/blender/editors/interface/interface_ops.c
parent79c3c5689416014afd4fe417fac404c34b7a6cf0 (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/editors/interface/interface_ops.c')
-rw-r--r--source/blender/editors/interface/interface_ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c
index 7cf8a315895..046bb114a62 100644
--- a/source/blender/editors/interface/interface_ops.c
+++ b/source/blender/editors/interface/interface_ops.c
@@ -611,7 +611,8 @@ static int reports_to_text_exec(bContext *C, wmOperator *UNUSED(op))
str = BKE_reports_string(reports, (G.debug & G_DEBUG) ? RPT_DEBUG : RPT_INFO);
if (str) {
- BKE_text_write(txt, str);
+ TextUndoBuf *utxt = NULL; // FIXME
+ BKE_text_write(txt, utxt, str);
MEM_freeN(str);
return OPERATOR_FINISHED;