summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-28 00:03:34 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-08-28 00:04:24 -0300
commit8fce79aaeef3788bed170f07fc728e25f66e4a20 (patch)
treeab360099a16721fb6ad769d55189242bb2603242 /core
parent213887f2096e6ab9176b527634b5304280b032d1 (diff)
-Some fixes to code completion.
-Fix getter in code completion being displayed when it shouldn't -Clean up preview generation for editors and exposed it as editor plugin
Diffstat (limited to 'core')
-rw-r--r--core/class_db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp
index 0d6c72afa8..4b0e1b31f0 100644
--- a/core/class_db.cpp
+++ b/core/class_db.cpp
@@ -864,7 +864,7 @@ void ClassDB::add_property(StringName p_class, const PropertyInfo &p_pinfo, cons
MethodBind *mb_get = NULL;
if (p_getter) {
- MethodBind *mb_get = get_method(p_class, p_getter);
+ mb_get = get_method(p_class, p_getter);
#ifdef DEBUG_METHODS_ENABLED
if (!mb_get) {