diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-28 12:32:01 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-28 12:32:01 +0200 |
| commit | ba1bd6fc151d0f81fdbe851e08c98d9e00310df8 (patch) | |
| tree | 16726c5f695629b2bbaca34f33df8e5d26ca74fd /editor/script_create_dialog.cpp | |
| parent | 17da2c5b53ffd34d15d90286e9f73dabbbe23ec4 (diff) | |
| parent | a7fa34db1d0ff12079cd72cf0de437c5ca1f0a04 (diff) | |
| download | redot-engine-ba1bd6fc151d0f81fdbe851e08c98d9e00310df8.tar.gz | |
Merge pull request #84077 from KoBeWi/this_path_is_valid_change_my_mind
Ignore path error for built-in scripts/shaders
Diffstat (limited to 'editor/script_create_dialog.cpp')
| -rw-r--r-- | editor/script_create_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index 0472f48c62..25e17ccd2a 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -633,7 +633,7 @@ void ScriptCreateDialog::_update_dialog() { validation_panel->set_message(MSG_ID_SCRIPT, TTR("File exists, it will be reused."), EditorValidationPanel::MSG_OK); } - if (!path_error.is_empty()) { + if (!is_built_in && !path_error.is_empty()) { validation_panel->set_message(MSG_ID_PATH, path_error, EditorValidationPanel::MSG_ERROR); } |
