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:
authorRichard Antalik <richardantalik@gmail.com>2021-07-29 11:27:54 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-07-29 12:38:43 +0300
commit5c9979ff0324d9bc26092037899b24ad69f1c34f (patch)
tree7d8215c365f720bd34c637af0230c9da131b4796 /source/blender/blenloader
parent3964785a1458ef5ba6d28485ff5f7343ccf3f61c (diff)
VSE: don't snap by default
Snapping by default goes against convention, so this setting was re-evaluated. Also snapping by default can conflict with new image transform system, see T90156 There wasn't consensus, so disable snapping by default to follow established convention. ref T89665 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D12054
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_300.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c
index e46073ba0de..fb22a88c28e 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -671,6 +671,13 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
+ if (!MAIN_VERSION_ATLEAST(bmain, 300, 14)) {
+ LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) {
+ ToolSettings *tool_settings = scene->toolsettings;
+ tool_settings->snap_flag &= ~SCE_SNAP_SEQ;
+ }
+ }
+
/**
* Versioning code until next subversion bump goes here.
*