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:
authorBastien Montagne <bastien@blender.org>2021-01-06 16:09:58 +0300
committerBastien Montagne <bastien@blender.org>2021-01-06 16:11:25 +0300
commit0e4f8ed90ee0823307a2070812e2b9cfbced7bdd (patch)
tree85978ae308fa82a96cb1ba745698351f63b0a3bf /source/blender/editors/sculpt_paint/sculpt_undo.c
parenteb1ff4b3a4cfb933f40206fb9c0ea918d79456a5 (diff)
UndoType: Fix some incinsistencies re context usage flag.
`use_context_for_encode` was not properly set regarding actual `encode` code for a few types.
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_undo.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c
index 11a279b5a5a..9f2a6e305d0 100644
--- a/source/blender/editors/sculpt_paint/sculpt_undo.c
+++ b/source/blender/editors/sculpt_paint/sculpt_undo.c
@@ -1576,7 +1576,7 @@ void ED_sculpt_undosys_type(UndoType *ut)
ut->step_decode = sculpt_undosys_step_decode;
ut->step_free = sculpt_undosys_step_free;
- ut->use_context_for_encode = true;
+ ut->use_context_for_encode = false;
ut->step_size = sizeof(SculptUndoStep);
}