summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-02-13 14:41:29 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-17 08:15:29 +0200
commitf19cd44346a68a649cabfe85cc3ba7a44ceb0ca4 (patch)
tree16f36f18199b28305e92084b4790d664632f3fac /editor/import
parent178961a6dc14155c0e65ec0040a2b2b328550317 (diff)
Unify TextServer built-in module and GDExtension code.
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/dynamic_font_import_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/dynamic_font_import_settings.cpp b/editor/import/dynamic_font_import_settings.cpp
index 2ecc483938..52833f4585 100644
--- a/editor/import/dynamic_font_import_settings.cpp
+++ b/editor/import/dynamic_font_import_settings.cpp
@@ -645,7 +645,7 @@ void DynamicFontImportSettings::_glyph_text_selected() {
selected_glyphs.insert(gl[i].index);
}
}
- TS->free(text_rid);
+ TS->free_rid(text_rid);
label_glyphs->set_text(TTR("Preloaded glyphs: ") + itos(selected_glyphs.size()));
}
_range_selected();