mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Fix VisualScript editor crash when deleting selected nodes
Fixes #64662.
Regression from #61145.
(cherry picked from commit 13d1ee6058
)
This commit is contained in:
parent
1ea8b9d2b7
commit
82175a6c2e
1 changed files with 1 additions and 1 deletions
|
@ -1846,7 +1846,7 @@ void VisualScriptEditor::_on_nodes_delete(const Array &p_nodes) {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
for (int i = 0; i < graph->get_child_count(); i++) {
|
||||
for (int i = 0; i < p_nodes.size(); i++) {
|
||||
to_erase.push_back(p_nodes[i].operator String().to_int());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue