summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorIgnacio Etcheverry <neikeq@users.noreply.github.com>2017-10-11 13:54:34 +0200
committerGitHub <noreply@github.com>2017-10-11 13:54:34 +0200
commit740ef3dc9788d62fc07567149a3768e90af781ce (patch)
tree6f0964e29cec7baa98932a658e38830472ee0cc0 /main
parent45c878e3803c06361dfcad9d7a329ba12fc01570 (diff)
parent9b6f65af82d02d1ec92de1d2d6250884de20cbf3 (diff)
downloadredot-engine-740ef3dc9788d62fc07567149a3768e90af781ce.tar.gz
Merge pull request #11954 from neikeq/d
Added 'exposed' field to ClassInfo for registered classes
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index e06f423bfc..c6d3c3f15c 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -257,6 +257,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
translation_server = memnew(TranslationServer);
performance = memnew(Performance);
+ ClassDB::register_class<Performance>();
globals->add_singleton(ProjectSettings::Singleton("Performance", performance));
GLOBAL_DEF("debug/settings/crash_handler/message", String("Please include this when reporting the bug on https://github.com/godotengine/godot/issues"));