Blender Git Loki

Git Commits -> Revision 6bcdcc9

Revision 6bcdcc9 by Richard Antalik (master)
February 23, 2019, 14:14 (GMT)
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].

Reviewed by: Brecht

Differential revision: https://developer.blender.org/D4389

Commit Details:

Full Hash: 6bcdcc96c2548e0ee5e18acc37915aedee6329e0
Parent Commit: 6eb59c5
Lines Changed: +31, -12

5 Modified Paths:

/source/blender/blenkernel/BKE_sequencer.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/editors/interface/view2d.c (+2, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+8, -6) (Diff)
/source/blender/editors/space_sequencer/sequencer_view.c (+19, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021