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:
authorJoshua Leung <aligorith@gmail.com>2018-05-03 19:50:53 +0300
committerJoshua Leung <aligorith@gmail.com>2018-05-03 19:50:53 +0300
commit20185a8681f15f3e4e129e064fbe9a150dc4c963 (patch)
treea2c2d91126634d4a460b9e92205abb18e2836475 /source/blender/blenkernel/intern/scene.c
parent8c49e6f99e412c5752f70f506b5554c283ad9dbc (diff)
Cleanup "Sync Mode" (i.e. Av Sync/Framedropping) stuff
* Remove the "sync_mode" dropdown from timeline header, and move it into the Playback menu instead. * Remove the confusing "Frame Dropping" and "AV Sync" entries from the Playback menu. These were supposed to be mutually exclusive (or else, the "sync_mode" menu would break). * Turn AV Sync on by default * Commented out the Frame Dropping and Av Sync RNA Properties too. THere doesn't seem to be any valid reason for these to exist?
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r--source/blender/blenkernel/intern/scene.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index f3f08aec3cd..a11c7320da5 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -717,6 +717,7 @@ void BKE_scene_init(Scene *sce)
sce->audio.doppler_factor = 1.0f;
sce->audio.speed_of_sound = 343.3f;
sce->audio.volume = 1.0f;
+ sce->audio.flag = AUDIO_SYNC;
BLI_strncpy(sce->r.pic, U.renderdir, sizeof(sce->r.pic));