From 773691310f9479a7de9b01f13fbbdc5d45c1c47e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 4 May 2019 18:53:59 +0200 Subject: Fix T64143: Crash when scrubbing in the graph editor --- source/blender/editors/space_graph/graph_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_graph') diff --git a/source/blender/editors/space_graph/graph_ops.c b/source/blender/editors/space_graph/graph_ops.c index 5c7035a4c04..054a1e3d8ee 100644 --- a/source/blender/editors/space_graph/graph_ops.c +++ b/source/blender/editors/space_graph/graph_ops.c @@ -105,7 +105,7 @@ static void graphview_cursor_apply(bContext *C, wmOperator *op) } SUBFRA = 0.0f; - BKE_sound_seek_scene(bmain, scene); + BKE_sound_update_and_seek(bmain, CTX_data_depsgraph(C)); } /* set the cursor value */ -- cgit v1.2.3