Change "Add Preload Node" action to "Add Node(s)"

The action might also drop Custom Nodes

(cherry picked from commit 70a6ff0a71)
This commit is contained in:
Gallilus 2021-07-25 13:47:57 +02:00 committed by Rémi Verschelde
parent 1180256090
commit 9342457bcd
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -2193,7 +2193,7 @@ void VisualScriptEditor::drop_data_fw(const Point2 &p_point, const Variant &p_da
int new_id = script->get_available_id(); int new_id = script->get_available_id();
if (files.size()) { 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++) { for (int i = 0; i < files.size(); i++) {
Ref<Resource> res = ResourceLoader::load(files[i]); Ref<Resource> res = ResourceLoader::load(files[i]);