You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename()
This commit is contained in:
@@ -961,7 +961,7 @@ bool ResourceFormatLoaderDynamicFont::handles_type(const String& p_type) const {
|
||||
|
||||
String ResourceFormatLoaderDynamicFont::get_resource_type(const String &p_path) const {
|
||||
|
||||
String el = p_path.extension().to_lower();
|
||||
String el = p_path.get_extension().to_lower();
|
||||
if (el=="ttf" || el=="otf")
|
||||
return "DynamicFontData";
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user