From 48f1d02da4795ba9d485fe5fe2bea907be2fc467 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 24 Jun 2015 13:29:23 -0300 Subject: added ability to define signals in script closes #2175 --- core/object.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core/object.cpp') diff --git a/core/object.cpp b/core/object.cpp index cdb2c6517..6bb7973ce 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1302,6 +1302,10 @@ Array Object::_get_signal_connection_list(const String& p_signal) const{ void Object::get_signal_list(List *p_signals ) const { + if (!script.is_null()) { + Ref