diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-03-17 00:45:25 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-03-17 00:45:25 -0300 |
commit | a969e2e6f17d6810771e9c9c31551d57e5d1efdb (patch) | |
tree | 1a1e2b6ca26bd99015856ce886cdf92f1d0b84d6 /tools | |
parent | 53e1694e1e2b76026d862e84c1de88f62601cbc3 (diff) |
Area2D can now detect overlap with other areas
this should make everything simpler, specially for newcomers to Godot
Diffstat (limited to 'tools')
-rw-r--r-- | tools/editor/connections_dialog.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/editor/connections_dialog.cpp b/tools/editor/connections_dialog.cpp index d7158eb7e9..cf4b21510a 100644 --- a/tools/editor/connections_dialog.cpp +++ b/tools/editor/connections_dialog.cpp @@ -607,6 +607,14 @@ void ConnectionsDialog::_remove_confirm() { } */ + +struct _ConnectionsDialogMethodInfoSort { + + _FORCE_INLINE_ bool operator()(const MethodInfo& a, const MethodInfo& b) const { + return a.name < b.name; + } +}; + void ConnectionsDialog::update_tree() { if (!is_visible()) @@ -623,7 +631,8 @@ void ConnectionsDialog::update_tree() { node->get_signal_list(&node_signals); - + //node_signals.sort_custom<_ConnectionsDialogMethodInfoSort>(); + for(List<MethodInfo>::Element *E=node_signals.front();E;E=E->next()) { |