From 8fa4f1cf8288c62b52d84d094ec88b0e8f3791b1 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 12 Apr 2015 22:22:44 -0300 Subject: -Made sure that "free" function appears in documentation and code completion, fixes #1664 --- core/object.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/object.cpp') diff --git a/core/object.cpp b/core/object.cpp index f71521a0f..46f536520 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1505,6 +1505,8 @@ void Object::_bind_methods() { ObjectTypeDB::bind_method(_MD("is_queued_for_deletion"),&Object::is_queued_for_deletion); + ObjectTypeDB::add_virtual_method("Object",MethodInfo("free"),false); + ADD_SIGNAL( MethodInfo("script_changed")); BIND_VMETHOD( MethodInfo("_notification",PropertyInfo(Variant::INT,"what")) ); -- cgit v1.2.3-70-g09d2