mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-24 12:26:49 +00:00
Merge pull request #11954 from neikeq/d
Added 'exposed' field to ClassInfo for registered classes
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user