mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 10:23:28 +00:00
Refactor some object type checking code with cast_to
Less stringly typed logic, and less String allocations and comparisons.
This commit is contained in:
parent
0154ce2c8d
commit
317cd0b19a
29 changed files with 140 additions and 171 deletions
|
|
@ -653,7 +653,6 @@ void VisualScriptEditor::_update_graph(int p_only_id) {
|
|||
|
||||
List<int> ids;
|
||||
script->get_node_list(&ids);
|
||||
StringName editor_icons = "EditorIcons";
|
||||
|
||||
for (int &E : ids) {
|
||||
if (p_only_id >= 0 && p_only_id != E) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue