diff options
author | Felix Yang <felixyang117+GitHub@hotmail.com> | 2018-03-30 16:20:24 +0200 |
---|---|---|
committer | Felix Yang <felixyang117+GitHub@hotmail.com> | 2018-04-03 21:56:54 +0200 |
commit | 7d5a40c3e6fbd90f02ae677fc20300c3f38772df (patch) | |
tree | c2d7244e9c93602e5f90852a8049342871c61da8 /core/class_db.cpp | |
parent | b61021d34fd453799e278eaeee8346d0587516ac (diff) |
Ctrl+Clicking a enum now scrolls down to it in the docs.
Diffstat (limited to 'core/class_db.cpp')
-rw-r--r-- | core/class_db.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp index 291dc87e1c..92aa131e2d 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -651,7 +651,6 @@ void ClassDB::bind_integer_constant(const StringName &p_class, const StringName } type->constant_map[p_name] = p_constant; -#ifdef DEBUG_METHODS_ENABLED String enum_name = p_enum; if (enum_name != String()) { @@ -670,6 +669,7 @@ void ClassDB::bind_integer_constant(const StringName &p_class, const StringName } } +#ifdef DEBUG_METHODS_ENABLED type->constant_order.push_back(p_name); #endif } @@ -725,7 +725,6 @@ int ClassDB::get_integer_constant(const StringName &p_class, const StringName &p return 0; } -#ifdef DEBUG_METHODS_ENABLED StringName ClassDB::get_integer_constant_enum(const StringName &p_class, const StringName &p_name, bool p_no_inheritance) { OBJTYPE_RLOCK; @@ -794,7 +793,6 @@ void ClassDB::get_enum_constants(const StringName &p_class, const StringName &p_ type = type->inherits_ptr; } } -#endif void ClassDB::add_signal(StringName p_class, const MethodInfo &p_signal) { |