VSE: indicate missing media in timeline/display #116869
|
@ -189,7 +189,7 @@ static SeqRenderData sequencer_thumbnail_context_init(const bContext *C)
|
|||
SEQ_render_new_render_data(bmain, depsgraph, scene, 0, 0, sseq->render_size, false, &context);
|
||||
context.view_id = BKE_scene_multiview_view_id_get(&scene->r, STEREO_LEFT_NAME);
|
||||
context.use_proxies = false;
|
||||
context.never_show_missing_media = true;
|
||||
context.ignore_missing_media = true;
|
||||
aras_p marked this conversation as resolved
Outdated
|
||||
context.scene = scene;
|
||||
|
||||
return context;
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
\
|
||||
.seq_prev_type = OB_SOLID, \
|
||||
.seq_rend_type = OB_SOLID, \
|
||||
.seq_flag = 0, \
|
||||
\
|
||||
aras_p marked this conversation as resolved
Outdated
Richard Antalik
commented
I guess missing DNA defaults would be initialized to 0 anyway, but this is technically unrelated change and should not be done here. I guess missing DNA defaults would be initialized to 0 anyway, but this is technically unrelated change and should not be done here.
|
||||
.threads = 1, \
|
||||
\
|
||||
|
|
|
@ -34,7 +34,7 @@ struct SeqRenderData {
|
|||
int recty;
|
||||
int preview_render_size;
|
||||
bool use_proxies;
|
||||
bool never_show_missing_media;
|
||||
bool ignore_missing_media;
|
||||
int for_render;
|
||||
int motion_blur_samples;
|
||||
float motion_blur_shutter;
|
||||
|
|
|
@ -231,7 +231,7 @@ void SEQ_render_new_render_data(Main *bmain,
|
|||
r_context->rectx = rectx;
|
||||
r_context->recty = recty;
|
||||
r_context->preview_render_size = preview_render_size;
|
||||
r_context->never_show_missing_media = false;
|
||||
r_context->ignore_missing_media = false;
|
||||
r_context->for_render = for_render;
|
||||
r_context->motion_blur_samples = 0;
|
||||
r_context->motion_blur_shutter = 0;
|
||||
|
@ -968,7 +968,7 @@ static bool seq_image_strip_is_multiview_render(
|
|||
|
||||
static ImBuf *create_missing_media_image(const SeqRenderData *context, const StripElem *orig)
|
||||
{
|
||||
if (context->never_show_missing_media) {
|
||||
if (context->ignore_missing_media) {
|
||||
return nullptr;
|
||||
}
|
||||
if (context->scene == nullptr || context->scene->ed == nullptr ||
|
||||
|
|
Loading…
Reference in New Issue
Nitpick: Could this be called "ignore missing media" or something like that? Currently it's not double negative, but reads strange to me.