Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2019-02-23 17:14:44 +0300
committerRichard Antalik <richardantalik@gmail.com>2019-02-23 17:14:44 +0300
commit6bcdcc96c2548e0ee5e18acc37915aedee6329e0 (patch)
tree92fb7e5870dd89a9a0db6f5373d7ca2d1d38a185 /source/blender/blenkernel/BKE_sequencer.h
parent6eb59c57782724cdcbc1564356f2c2e2619c01ec (diff)
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
Diffstat (limited to 'source/blender/blenkernel/BKE_sequencer.h')
-rw-r--r--source/blender/blenkernel/BKE_sequencer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_sequencer.h b/source/blender/blenkernel/BKE_sequencer.h
index 72cdaf97ec3..8df2c67ecda 100644
--- a/source/blender/blenkernel/BKE_sequencer.h
+++ b/source/blender/blenkernel/BKE_sequencer.h
@@ -240,6 +240,7 @@ int BKE_sequencer_evaluate_frame(struct Scene *scene, int cfra);
struct StripElem *BKE_sequencer_give_stripelem(struct Sequence *seq, int cfra);
/* intern */
+double seq_rendersize_to_scale_factor(int size);
void BKE_sequencer_update_changed_seq_and_deps(struct Scene *scene, struct Sequence *changed_seq, int len_change, int ibuf_change);
bool BKE_sequencer_input_have_to_preprocess(const SeqRenderData *context, struct Sequence *seq, float cfra);