From b3627e29f0bbb67813fe518ad55e9509b4752e6c Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 30 Jun 2018 19:58:37 -0300 Subject: -Fixes to OBJ importer, option to disable optimization -Fixes to script language, PlaceHolder can now get and check methods --- core/script_language.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/script_language.h') diff --git a/core/script_language.h b/core/script_language.h index ad66fc5528..e7748f93e2 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -304,8 +304,8 @@ public: virtual void get_property_list(List *p_properties) const; virtual Variant::Type get_property_type(const StringName &p_name, bool *r_is_valid = NULL) const; - virtual void get_method_list(List *p_list) const {} - virtual bool has_method(const StringName &p_method) const { return false; } + virtual void get_method_list(List *p_list) const; + virtual bool has_method(const StringName &p_method) const; virtual Variant call(const StringName &p_method, VARIANT_ARG_LIST) { return Variant(); } virtual Variant call(const StringName &p_method, const Variant **p_args, int p_argcount, Variant::CallError &r_error) { r_error.error = Variant::CallError::CALL_ERROR_INVALID_METHOD; -- cgit v1.2.3