You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
ConnectionsDock: Fix error when parsing CustomCallable connections
This commit is contained in:
@@ -1015,9 +1015,10 @@ void ConnectionsDock::update_tree() {
|
||||
|
||||
for (List<Object::Connection>::Element *F = connections.front(); F; F = F->next()) {
|
||||
|
||||
ConnectDialog::ConnectionData c = F->get();
|
||||
if (!(c.flags & CONNECT_PERSIST))
|
||||
Connection cn = F->get();
|
||||
if (!(cn.flags & CONNECT_PERSIST))
|
||||
continue;
|
||||
ConnectDialog::ConnectionData c = cn;
|
||||
|
||||
Node *target = Object::cast_to<Node>(c.target);
|
||||
if (!target)
|
||||
|
||||
Reference in New Issue
Block a user