Blender Git Loki

Git Commits -> Revision f680ab9

Revision f680ab9 by Richard Antalik (master)
February 23, 2019, 19:37 (GMT)
Fix strips text offset when zooming VSE timeline

Glyph cache is cleared by UI_view2d_zoom_cache_reset, when zooming V2D, but is required to calculate text height in UI_view2d_text_cache_draw

This caused text in strips to "jump around"

There was a comment in UI_view2d_zoom_cache_reset:
While scaling we can accumulate fonts at many sizes (~20 or so).
Not an issue with embedded font, but can use over 500Mb with i18n ones! See [#38244].

Commit Details:

Full Hash: f680ab9c4e2ee467017405d6a32d770c576a6f69
Parent Commit: 82b3b1a
Lines Changed: +2, -0

1 Modified Path:

/source/blender/editors/interface/view2d.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021