Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/view2d.c
| Context not available. | |||||
| /* While scaling we can accumulate fonts at many sizes (~20 or so). | /* 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]. */ | * Not an issue with embedded font, but can use over 500Mb with i18n ones! See [#38244]. */ | ||||
| /* note: only some views draw text, we could check for this case to avoid clearning cache */ | BLF_cache_clear(false); | ||||
| BLF_cache_clear(); | |||||
| } | } | ||||
| /* *********************************************************************** */ | /* *********************************************************************** */ | ||||
| Context not available. | |||||