1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Create .uid file when creating new Resource

This commit is contained in:
kobewi
2024-11-12 22:17:17 +01:00
parent cb411fa960
commit 28e5b213ae
4 changed files with 21 additions and 0 deletions

View File

@@ -359,6 +359,7 @@ void ScriptCreateDialog::_create_new() {
alert->popup_centered();
return;
}
EditorNode::get_singleton()->ensure_uid_file(lpath);
}
emit_signal(SNAME("script_created"), scr);