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 20:06:11 +0300
committerBastien Montagne <bastien@blender.org>2021-01-06 20:07:09 +0300
commit3028de9527a0a7e2772fd87fcf1abbf823698371 (patch)
treeee0498f7c5109dfde30246675009984392f2ec33 /source/blender/editors/metaball
parent5cdf279ef46fa8672d086d1f57025e31f477accc (diff)
UndoType: Refactor: replace `use_context` boolean by a bitflag.
We will soon need more options here, sinmpler and cleaner to use a bitflag then.
Diffstat (limited to 'source/blender/editors/metaball')
-rw-r--r--source/blender/editors/metaball/editmball_undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/metaball/editmball_undo.c b/source/blender/editors/metaball/editmball_undo.c
index 64443270c96..cbc60bcc031 100644
--- a/source/blender/editors/metaball/editmball_undo.c
+++ b/source/blender/editors/metaball/editmball_undo.c
@@ -258,7 +258,7 @@ void ED_mball_undosys_type(UndoType *ut)
ut->step_foreach_ID_ref = mball_undosys_foreach_ID_ref;
- ut->use_context_for_encode = true;
+ ut->flags = UNDOTYPE_FLAG_NEED_CONTEXT_FOR_ENCODE;
ut->step_size = sizeof(MBallUndoStep);
}