Fix sequencer font loading using an unexpected path
Reuse the existing font loading function which handles this case.
This commit is contained in:
parent
20ef771374
commit
efc129bc82
Notes:
blender-bot
2023-02-14 11:07:28 +01:00
Referenced by commit 0b6be26126
, BLF: remove checks for blend file relative paths
|
@ -3850,9 +3850,7 @@ static ImBuf *do_text_effect(const SeqRenderData *context,
|
|||
if (data->text_blf_id == SEQ_FONT_NOT_LOADED) {
|
||||
data->text_blf_id = -1;
|
||||
|
||||
if (data->text_font) {
|
||||
data->text_blf_id = BLF_load(data->text_font->filepath);
|
||||
}
|
||||
SEQ_effect_text_font_load(data, false);
|
||||
}
|
||||
|
||||
if (data->text_blf_id >= 0) {
|
||||
|
|
Loading…
Reference in New Issue