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
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
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;
}