1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename()

This commit is contained in:
Juan Linietsky
2017-01-14 00:51:09 -03:00
parent f3b6177ece
commit d9d77291bc
51 changed files with 113 additions and 113 deletions

View File

@@ -670,7 +670,7 @@ void EditorFileSystem::_scan_new_dir(EditorFileSystemDirectory *p_dir,DirAccess
for (List<String>::Element*E=files.front();E;E=E->next(),idx++) {
String ext = E->get().extension().to_lower();
String ext = E->get().get_extension().to_lower();
if (!valid_extensions.has(ext))
continue; //invalid
@@ -789,7 +789,7 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir,const S
} else {
String ext = f.extension().to_lower();
String ext = f.get_extension().to_lower();
if (!valid_extensions.has(ext))
continue; //invalid