Page MenuHome

Fix T67620: Font preview translations malfunction in Blender 2.8
ClosedPublic

Authored by Bastien Montagne (mont29) on Fri, Jul 26, 6:04 PM.

Details

Summary

We cannot reliably use translations API from non-main threads.

Now storing translated strings in a static cache, with basic mechanism
to update it on language change.

Diff Detail

Repository
rB Blender

Event Timeline

Seems fine, minor issue noted inline.

source/blender/imbuf/intern/thumbs_font.c
40

Don't think define is needed here, use static const char *i18n_thumb_str[ARRAY_SIZE(thumb_str)] = {NULL}; instead.

This revision is now accepted and ready to land.Mon, Jul 29, 6:02 AM

Committed with suggested change, thx.