Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_draw.c
| Context not available. | |||||
| if (special_seq_update) { | if (special_seq_update) { | ||||
| ibuf = BKE_sequencer_give_ibuf_direct(&context, cfra + frame_ofs, special_seq_update); | ibuf = BKE_sequencer_give_ibuf_direct(&context, cfra + frame_ofs, special_seq_update); | ||||
| } | } | ||||
| else if (!U.prefetchframes) { // XXX || (G.f & G_PLAYANIM) == 0) { | else if (!U.prefetchframes) { // XXX || (G.f & G_PLAYANIM) == 0) { | ||||
| ibuf = BKE_sequencer_give_ibuf(&context, cfra + frame_ofs, sseq->chanshown); | ibuf = BKE_sequencer_give_ibuf(&context, cfra + frame_ofs, sseq->chanshown); | ||||
| } | } | ||||
| else { | else { | ||||
| ibuf = BKE_sequencer_give_ibuf_threaded(&context, cfra + frame_ofs, sseq->chanshown); | 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) */ | /* restore state so real rendering would be canceled (if needed) */ | ||||
| G.is_break = is_break; | G.is_break = is_break; | ||||
| return ibuf; | return ibuf; | ||||
| } | } | ||||
| static void sequencer_check_scopes(SequencerScopes *scopes, ImBuf *ibuf) | static void sequencer_check_scopes(SequencerScopes *scopes, ImBuf *ibuf) | ||||
| { | { | ||||
| if (scopes->reference_ibuf != ibuf) { | if (scopes->reference_ibuf != ibuf) { | ||||
| Context not available. | |||||