[Bf-blender-cvs] [2ecd67e] master: Fix T47422: Factory startup loads too many fonts

Campbell Barton noreply at git.blender.org
Mon Feb 15 22:00:00 CET 2016


Commit: 2ecd67efa4aeadb442e094b795a9171149ccbab1
Author: Campbell Barton
Date:   Tue Feb 16 07:50:40 2016 +1100
Branches: master
https://developer.blender.org/rB2ecd67efa4aeadb442e094b795a9171149ccbab1

Fix T47422: Factory startup loads too many fonts

===================================================================

M	source/blender/editors/interface/interface_style.c

===================================================================

diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c
index 6ce2924..bfde02d 100644
--- a/source/blender/editors/interface/interface_style.c
+++ b/source/blender/editors/interface/interface_style.c
@@ -501,9 +501,6 @@ void uiStyleInit(void)
 			monofont_ttf = (unsigned char *)datatoc_bmonofont_ttf;
 		}
 	}
-
-	/* reload */
-	blf_mono_font_render = -1;
 #endif
 
 	/* XXX, this should be moved into a style, but for now best only load the monospaced font once. */




More information about the Bf-blender-cvs mailing list