From 0e4f8ed90ee0823307a2070812e2b9cfbced7bdd Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 6 Jan 2021 14:09:58 +0100 Subject: UndoType: Fix some incinsistencies re context usage flag. `use_context_for_encode` was not properly set regarding actual `encode` code for a few types. --- source/blender/editors/undo/memfile_undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/undo/memfile_undo.c') diff --git a/source/blender/editors/undo/memfile_undo.c b/source/blender/editors/undo/memfile_undo.c index 456458173ce..5f3381e3c9e 100644 --- a/source/blender/editors/undo/memfile_undo.c +++ b/source/blender/editors/undo/memfile_undo.c @@ -282,7 +282,7 @@ void ED_memfile_undosys_type(UndoType *ut) ut->step_decode = memfile_undosys_step_decode; ut->step_free = memfile_undosys_step_free; - ut->use_context_for_encode = true; + ut->use_context_for_encode = false; ut->step_size = sizeof(MemFileUndoStep); } -- cgit v1.2.3