Fix T75712: Sequencer text strip doesn't scale to render size
This commit is contained in:
parent
1bb241437c
commit
0d4eefd231
Notes:
blender-bot
2023-02-14 08:10:10 +01:00
Referenced by issue #75712, [ VSE ] Text strip does not adapt to export resolution
|
@ -3881,11 +3881,9 @@ static ImBuf *do_text_effect(const SeqRenderData *context,
|
|||
display = IMB_colormanagement_display_get_named(display_device);
|
||||
|
||||
/* Compensate text size for preview render size. */
|
||||
if (context->preview_render_size == SEQ_PROXY_RENDER_SIZE_SCENE) {
|
||||
proxy_size_comp = context->scene->r.size / 100.0;
|
||||
}
|
||||
else {
|
||||
proxy_size_comp = BKE_sequencer_rendersize_to_scale_factor(context->preview_render_size);
|
||||
proxy_size_comp = context->scene->r.size / 100.0;
|
||||
if (context->preview_render_size != SEQ_PROXY_RENDER_SIZE_SCENE) {
|
||||
proxy_size_comp *= BKE_sequencer_rendersize_to_scale_factor(context->preview_render_size);
|
||||
}
|
||||
|
||||
/* set before return */
|
||||
|
|
Loading…
Reference in New Issue