diff options
author | Bastien Montagne <bastien@blender.org> | 2020-04-17 16:11:16 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-04-17 16:13:25 +0300 |
commit | c565d0764f75ba5a5bb51d5daa9152897db59eb8 (patch) | |
tree | 4f5f3814c64b93d89db024d01d0b896d3112a214 /source/blender/makesrna/intern/rna_userdef.c | |
parent | a250be980a13d487099873bb5edf9c797b701ca1 (diff) |
Enable new undo code by default.
Note that given how experimental is working currently, I had to rename
and inverse the effect of the experimental undo flag, which will now
instead activate legacy code when set.
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 514d7428ff8..c08a95d7e16 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -6057,12 +6057,12 @@ static void rna_def_userdef_experimental(BlenderRNA *brna) RNA_def_struct_clear_flag(srna, STRUCT_UNDO); RNA_def_struct_ui_text(srna, "Experimental", "Experimental features"); - prop = RNA_def_property(srna, "use_undo_speedup", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "use_undo_speedup", 1); + prop = RNA_def_property(srna, "use_undo_legacy", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "use_undo_legacy", 1); RNA_def_property_ui_text( prop, - "Undo Speedup", - "Use new undo speedup (WARNING: can lead to crashes and serious .blend file corruption)"); + "Undo Legacy", + "Use legacy undo (slower than the new default one, but may be more stable in some cases)"); prop = RNA_def_property(srna, "use_menu_search", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "use_menu_search", 1); |