diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-28 14:32:36 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-28 14:32:36 +0100 |
| commit | 32ccf306f9a820e2ac5811de7c12e99a736fdf05 (patch) | |
| tree | 41edf077bcafa3c959a417aa4700318d483ff680 /editor | |
| parent | 09a6a2d8f83473b4893b4dd04ff31972e267d5d6 (diff) | |
| download | redot-engine-32ccf306f9a820e2ac5811de7c12e99a736fdf05.tar.gz | |
ConnectionsDock: Fix error when parsing CustomCallable connections
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/connections_dialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index 304d6d1ea9..eea92fb7ed 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -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) |
