You've already forked godot
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user