1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Rename the ".import" folder to ".godot/imported"

This commit is contained in:
Aaron Franke
2020-07-05 20:55:43 -04:00
parent 64d3827b19
commit 5fbcd8f9df
7 changed files with 18 additions and 12 deletions

View File

@@ -559,7 +559,7 @@ void EditorFileDialog::_item_list_item_rmb_selected(int p_item, const Vector2 &p
continue;
}
Dictionary item_meta = item_list->get_item_metadata(i);
if (item_meta["path"] == "res://.import") {
if (String(item_meta["path"]).begins_with("res://.godot")) {
allow_delete = false;
break;
}