Defaults: disable AV Sync by default again, it breaks physics caching.

This reverts back to the 2.79 situation. The better solution would be to make
physics caching somehow simulate the skipped frames. But for now the more
important thing is to have working physics.

Ref T54943, T56352.
This commit is contained in:
Brecht Van Lommel 2018-11-06 16:55:48 +01:00
parent b04c856122
commit 39b1e66afd

@ -207,6 +207,12 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
scene->r.cfra = 1.0f;
scene->r.displaymode = R_OUTPUT_WINDOW;
/* AV Sync break physics sim caching, disable until that is fixed. */
if (!(app_template && STREQ(app_template, "Video_Editing"))) {
scene->audio.flag &= ~AUDIO_SYNC;
scene->flag &= ~SCE_FRAME_DROP;
}
/* Don't enable compositing nodes. */
if (scene->nodetree) {
ntreeFreeTree(scene->nodetree);