summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-08-24 11:20:50 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-08-24 11:21:24 -0300
commitc399c41dfb065efab8d3b168ef0a1c5a5cf609d5 (patch)
tree18d7fd6be1845db797416ca6f13245dd6d8f40b2
parent750f128a05ca86aa5fc1084d393f845ffe3f5883 (diff)
Initalize font size to 16, closes #21165
-rw-r--r--scene/resources/dynamic_font.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp
index c536f9c1d2..63908cea45 100644
--- a/scene/resources/dynamic_font.cpp
+++ b/scene/resources/dynamic_font.cpp
@@ -1034,6 +1034,7 @@ SelfList<DynamicFont>::List DynamicFont::dynamic_fonts;
DynamicFont::DynamicFont() :
font_list(this) {
+ cache_id.size = 16;
spacing_top = 0;
spacing_bottom = 0;
spacing_char = 0;