Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / sound / sound_ops.c
index e273d3a40f01f1e9fd95fc8d74b3594cf7af9d14..d103530fa8162ea3f6320ed7f7a8686965131978 100644 (file)
@@ -318,11 +318,11 @@ static int sound_bake_animation_exec(bContext *C, wmOperator *UNUSED(op))
 
        for (cfra = (scene->r.sfra > 0) ? (scene->r.sfra - 1) : 0; cfra <= scene->r.efra + 1; cfra++) {
                scene->r.cfra = cfra;
-               BKE_scene_update_for_newframe(bmain->eval_ctx, bmain, scene, scene->lay);
+               BKE_scene_update_for_newframe(bmain->eval_ctx, bmain, scene);
        }
 
        scene->r.cfra = oldfra;
-       BKE_scene_update_for_newframe(bmain->eval_ctx, bmain, scene, scene->lay);
+       BKE_scene_update_for_newframe(bmain->eval_ctx, bmain, scene);
 
        return OPERATOR_FINISHED;
 }