You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Rename the ".import" folder to ".godot/imported"
This commit is contained in:
@@ -2093,7 +2093,8 @@ void ProjectManager::_run_project_confirm() {
|
||||
const String &selected = selected_list[i].project_key;
|
||||
String path = EditorSettings::get_singleton()->get("projects/" + selected);
|
||||
|
||||
if (!DirAccess::exists(path + "/.import")) {
|
||||
// `.right(6)` on `IMPORTED_FILES_PATH` strips away the leading "res://".
|
||||
if (!DirAccess::exists(path.plus_file(ProjectSettings::IMPORTED_FILES_PATH.right(6)))) {
|
||||
run_error_diag->set_text(TTR("Can't run project: Assets need to be imported.\nPlease edit the project to trigger the initial import."));
|
||||
run_error_diag->popup_centered();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user