Blender Git Commit Log
Git Commits -> Revision bec3131
Revision bec3131 by Bastien Montagne (master) June 1, 2015, 17:42 (GMT) |
Font Preview: much better handling of i18n case. We have to regenerate previews when we change language. But we also need to do it when translation is changed or added for a language, etc. Previously, we were storing one preview per language, which was also stuffing preview dir with (potentially) tens of PNGs per font file, if user plays with translations. Now we use a better system, which is storing an additional optional metadata in previews (some hexdigest), that Blender can use in addition to datetime to decide when to regenerate previews. This is only used (and needed) by font previews so far, but can easily be reused for other types of previews if needed. |
Commit Details:
Full Hash: bec3131112bb1f568f948e244784389523927111
Parent Commit: 2d88806
Lines Changed: +79, -24