Merge pull request #50840 from Gallilus/VisualScript-drop-preload-nodes-change-action-name

Change "Add Preload Node" action to "Add Node(s)"
This commit is contained in:
Rémi Verschelde 2021-07-26 08:29:31 +02:00 committed by GitHub
commit 54f6b30bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2186,7 +2186,7 @@ void VisualScriptEditor::drop_data_fw(const Point2 &p_point, const Variant &p_da
int new_id = script->get_available_id();
if (files.size()) {
undo_redo->create_action(TTR("Add Preload Node"));
undo_redo->create_action(TTR("Add Node(s)"));
for (int i = 0; i < files.size(); i++) {
Ref<Resource> res = ResourceLoader::load(files[i]);