Fix T62996

Reviewers
    Brecht Van Lommel (brecht)
    Clément Foucault (fclem)

Differential revision: https://developer.blender.org/D4618
This commit is contained in:
Richard Antalik 2019-03-31 14:52:47 -07:00
parent a41008964c
commit b936d7b16c
Notes: blender-bot 2023-02-14 08:38:14 +01:00
Referenced by issue #63345, changing scene and applying modifiers
Referenced by issue #63241, Instant crash upon parenting two separate armatures in the edit mode.
Referenced by issue #63201, Random crashes during background rendering
Referenced by issue #62996, Crash >> Clicking the Preview window of the Video Sequencer
1 changed files with 3 additions and 1 deletions

View File

@ -987,7 +987,9 @@ ImBuf *sequencer_ibuf_get(
ibuf = BKE_sequencer_give_ibuf_threaded(&context, cfra + frame_ofs, sseq->chanshown);
}
GPU_framebuffer_bind(fb);
if (fb) {
GPU_framebuffer_bind(fb);
}
/* restore state so real rendering would be canceled (if needed) */
G.is_break = is_break;