Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/sequencer.c
| Show First 20 Lines • Show All 3,440 Lines • ▼ Show 20 Lines | #endif | ||||
| * | * | ||||
| * As a result the active scene now only uses OpenGL rendering for the sequencer | * As a result the active scene now only uses OpenGL rendering for the sequencer | ||||
| * preview. This is far from nice, but is the only way to prevent crashes at this | * preview. This is far from nice, but is the only way to prevent crashes at this | ||||
| * time. | * time. | ||||
| * | * | ||||
| * -jahka | * -jahka | ||||
| */ | */ | ||||
| if (context->is_prefetch_render) { | |||||
| context = BKE_sequencer_prefetch_get_original_context(context); | |||||
| seq = BKE_sequencer_prefetch_get_original_sequence(seq, context->scene); | |||||
| } | |||||
| const bool is_rendering = G.is_rendering; | const bool is_rendering = G.is_rendering; | ||||
| const bool is_background = G.background; | const bool is_background = G.background; | ||||
| const bool do_seq_gl = is_rendering ? 0 : (context->scene->r.seq_prev_type) != OB_RENDER; | const bool do_seq_gl = is_rendering ? 0 : (context->scene->r.seq_prev_type) != OB_RENDER; | ||||
| bool have_comp = false; | bool have_comp = false; | ||||
| bool use_gpencil = true; | bool use_gpencil = true; | ||||
| /* do we need to re-evaluate the frame after rendering? */ | /* do we need to re-evaluate the frame after rendering? */ | ||||
| bool is_frame_update = false; | bool is_frame_update = false; | ||||
| Scene *scene; | Scene *scene; | ||||
| ▲ Show 20 Lines • Show All 2,508 Lines • Show Last 20 Lines | |||||