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
This commit is contained in:
parent
3964785a14
commit
5c9979ff03
Notes:
blender-bot
2023-02-14 05:04:52 +01:00
Referenced by issue #89665, VSE snapping defaults
|
@ -39,7 +39,7 @@ extern "C" {
|
|||
|
||||
/* Blender file format version. */
|
||||
#define BLENDER_FILE_VERSION BLENDER_VERSION
|
||||
#define BLENDER_FILE_SUBVERSION 13
|
||||
#define BLENDER_FILE_SUBVERSION 14
|
||||
|
||||
/* Minimum Blender version that supports reading file written with the current
|
||||
* version. Older Blender versions will test this and show a warning if the file
|
||||
|
|
|
@ -231,7 +231,6 @@ static void scene_init_data(ID *id)
|
|||
|
||||
/* Sequencer */
|
||||
scene->toolsettings->sequencer_tool_settings = SEQ_tool_settings_init();
|
||||
scene->toolsettings->snap_flag |= SCE_SNAP_SEQ;
|
||||
|
||||
for (size_t i = 0; i < ARRAY_SIZE(scene->orientation_slots); i++) {
|
||||
scene->orientation_slots[i].index_custom = -1;
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue