You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename()
This commit is contained in:
@@ -415,7 +415,7 @@ bool ResourceFormatLoaderVideoStreamWebm::handles_type(const String &p_type) con
|
||||
|
||||
String ResourceFormatLoaderVideoStreamWebm::get_resource_type(const String &p_path) const {
|
||||
|
||||
const String exl = p_path.extension().to_lower();
|
||||
const String exl = p_path.get_extension().to_lower();
|
||||
if (exl == "webm")
|
||||
return "VideoStreamWebm";
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user