merged changes to revision 24446
[blender.git] / source / blender / blenkernel / intern / blender.c
index 036d2a7b89b4b1004476ae7b188f052757a88ee9..088644544352b104885affa704167b30b45a173c 100644 (file)
@@ -539,7 +539,7 @@ static int read_undosave(bContext *C, UndoElem *uel)
        int success=0, fileflags;
        
        /* This is needed so undoing/redoing doesnt crash with threaded previews going */
-       WM_jobs_stop(CTX_wm_manager(C), CTX_wm_screen(C));
+       WM_jobs_stop_all(CTX_wm_manager(C));
        
        strcpy(scestr, G.sce);  /* temporal store */
        fileflags= G.fileflags;