Add some important profiling hooks.
This commit is contained in:
@ -37,6 +37,7 @@
|
||||
#include "core/object/message_queue.h"
|
||||
#include "core/object/worker_thread_pool.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/profiling/profiling.h"
|
||||
#include "node.h"
|
||||
#include "scene/animation/tween.h"
|
||||
#include "scene/debugger/scene_debugger.h"
|
||||
@ -572,6 +573,7 @@ void SceneTree::set_group(const StringName &p_group, const String &p_name, const
|
||||
}
|
||||
|
||||
void SceneTree::initialize() {
|
||||
GodotProfileZone("SceneTree::initialize");
|
||||
ERR_FAIL_NULL(root);
|
||||
MainLoop::initialize();
|
||||
root->_set_tree(this);
|
||||
|
||||
Reference in New Issue
Block a user