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:
authorJörg Müller <nexyon@gmail.com>2020-03-23 11:33:02 +0300
committerJörg Müller <nexyon@gmail.com>2020-03-23 11:34:26 +0300
commit0710fb724beb38cf76e0e9bce2c2b310027bef29 (patch)
treea689fa6316d0dcff67edd685de288d05858fd2e9 /source/blender/windowmanager
parent46c0da6e69c38973e5616bb0a0f7f2ff7b43d5fa (diff)
Fix T72632: Blender crashes using Jack with AV Sync enabled (repeatable)
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index fda0cb70c5b..b640fdb59c9 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -217,8 +217,10 @@ static void sound_jack_sync_callback(Main *bmain, int mode, float time)
if (depsgraph == NULL) {
continue;
}
+ BKE_sound_lock_scene(scene);
Scene *scene_eval = DEG_get_evaluated_scene(depsgraph);
BKE_sound_jack_scene_update(scene_eval, mode, time);
+ BKE_sound_unlock_scene(scene);
}
}