mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add some important profiling hooks.
This commit is contained in:
parent
e80194e31f
commit
c3747884da
14 changed files with 118 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue