diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-09 22:07:45 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-09 22:54:12 +0100 |
commit | 626eebdec436b8ef232563c557175cccdf957e34 (patch) | |
tree | 412d6c6d16f9947412fa6e756da447f3c834bf9e /core/class_db.cpp | |
parent | 75d0aeb0e9250db729ddba56570386f7c10084af (diff) | |
download | redot-engine-626eebdec436b8ef232563c557175cccdf957e34.tar.gz |
PropertyEditor: Fix display of property doc in tooltip
Diffstat (limited to 'core/class_db.cpp')
-rw-r--r-- | core/class_db.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp index 57e88044b5..edd49fe95f 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -1036,7 +1036,6 @@ bool ClassDB::get_property(Object *p_object, const StringName &p_property, Varia r_value = *c; return true; } - //if (check->constant_map.fin) check = check->inherits_ptr; } @@ -1163,24 +1162,6 @@ bool ClassDB::has_method(StringName p_class, StringName p_method, bool p_no_inhe return false; } -bool ClassDB::get_setter_and_type_for_property(const StringName &p_class, const StringName &p_prop, StringName &r_class, StringName &r_setter) { - - ClassInfo *type = classes.getptr(p_class); - ClassInfo *check = type; - while (check) { - - if (check->property_setget.has(p_prop)) { - r_class = check->name; - r_setter = check->property_setget[p_prop].setter; - return true; - } - - check = check->inherits_ptr; - } - - return false; -} - #ifdef DEBUG_METHODS_ENABLED MethodBind *ClassDB::bind_methodfi(uint32_t p_flags, MethodBind *p_bind, const MethodDefinition &method_name, const Variant **p_defs, int p_defcount) { StringName mdname = method_name.name; |