rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename()
This commit is contained in:
parent
f3b6177ece
commit
d9d77291bc
51 changed files with 113 additions and 113 deletions
|
|
@ -366,7 +366,7 @@ void ResourceFormatLoaderAudioStreamOpus::get_recognized_extensions(List<String>
|
|||
}
|
||||
String ResourceFormatLoaderAudioStreamOpus::get_resource_type(const String &p_path) const {
|
||||
|
||||
if (p_path.extension().to_lower()=="opus")
|
||||
if (p_path.get_extension().to_lower()=="opus")
|
||||
return "AudioStreamOpus";
|
||||
return "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue