mirror of
https://github.com/godotengine/godot-visual-script.git
synced 2026-01-08 10:11:14 +03:00
Change "Add Preload Node" action to "Add Node(s)"
The action might also drop Custom Nodes
(cherry picked from commit 0bb9c1b0d9)
This commit is contained in:
committed by
Rémi Verschelde
parent
cf65b385c8
commit
4a16b926cf
@@ -2193,7 +2193,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]);
|
||||
|
||||
Reference in New Issue
Block a user