Blender Git Loki

Git Commits -> Revision 3b6c75d

Revision 3b6c75d by Bastien Montagne (master)
July 29, 2019, 12:11 (GMT)
Fix T67620: Font preview translations malfunction in Blender 2.8

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.

Reviewers: brecht, campbellbarton

Differential Revision: https://developer.blender.org/D5350

Commit Details:

Full Hash: 3b6c75dc318223a7e559805ed9802c46c73f2f28
Parent Commit: b83a1b6
Lines Changed: +54, -15

8 Modified Paths:

/source/blender/blenfont/BLF_api.h (+1, -0) (Diff)
/source/blender/blenfont/intern/blf_thumbs.c (+2, -1) (Diff)
/source/blender/blentranslation/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blentranslation/intern/blt_lang.c (+3, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+3, -0) (Diff)
/source/blender/imbuf/IMB_thumbs.h (+12, -5) (Diff)
/source/blender/imbuf/intern/thumbs_font.c (+27, -9) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021