feat: updated godot version

This commit is contained in:
Sara Gerretsen 2026-04-04 19:38:56 +02:00
parent 0c508b0831
commit 42b028dbb5
4694 changed files with 236470 additions and 401376 deletions

View file

@ -32,8 +32,6 @@
#include "shared_controls.h"
#include "core/object/callable_mp.h"
#include "core/object/class_db.h"
#include "editor/editor_node.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/split_container.h"

View file

@ -30,7 +30,6 @@
#include "node_view.h"
#include "core/object/callable_mp.h"
#include "editor/editor_node.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/check_button.h"

View file

@ -30,7 +30,6 @@
#include "object_view.h"
#include "core/object/callable_mp.h"
#include "editor/editor_node.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/rich_text_label.h"

View file

@ -30,12 +30,10 @@
#include "refcounted_view.h"
#include "core/object/callable_mp.h"
#include "editor/editor_node.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/rich_text_label.h"
#include "scene/gui/split_container.h"
#include "scene/main/scene_tree.h"
SnapshotRefCountedView::SnapshotRefCountedView() {
set_name(TTRC("RefCounted"));

View file

@ -30,7 +30,6 @@
#include "shared_controls.h"
#include "core/object/callable_mp.h"
#include "editor/editor_node.h"
#include "editor/editor_string_names.h"
#include "editor/themes/editor_scale.h"

View file

@ -38,8 +38,6 @@
#include "data_viewers/summary_view.h"
#include "core/config/project_settings.h"
#include "core/object/callable_mp.h"
#include "core/os/os.h"
#include "core/os/time.h"
#include "editor/debugger/editor_debugger_node.h"
#include "editor/debugger/script_editor_debugger.h"
@ -52,7 +50,6 @@
#include "scene/gui/option_button.h"
#include "scene/gui/split_container.h"
#include "scene/gui/tab_container.h"
#include "scene/main/scene_tree.h"
// ObjectDB snapshots are very large. In remote_debugger_peer.cpp, the max in_buf and out_buf size is 8mb.
// Snapshots are typically larger than that, so we send them 6mb at a time. Leaving 2mb for other data.
@ -273,7 +270,7 @@ void ObjectDBProfilerPanel::_snapshot_rmb(const Vector2 &p_pos, MouseButton p_bu
rmb_menu->clear(false);
rmb_menu->add_icon_item(get_editor_theme_icon(SNAME("Rename")), TTRC("Rename"), OdbProfilerMenuOptions::ODB_MENU_RENAME);
rmb_menu->add_icon_item(get_editor_theme_icon(SNAME("Folder")), OS::get_singleton()->get_platform_string(OS::PLATFORM_STRING_FILE_MANAGER_OPEN), OdbProfilerMenuOptions::ODB_MENU_SHOW_IN_FOLDER);
rmb_menu->add_icon_item(get_editor_theme_icon(SNAME("Folder")), TTRC("Show in File Manager"), OdbProfilerMenuOptions::ODB_MENU_SHOW_IN_FOLDER);
rmb_menu->add_icon_item(get_editor_theme_icon(SNAME("Remove")), TTRC("Delete"), OdbProfilerMenuOptions::ODB_MENU_DELETE);
rmb_menu->set_position(snapshot_list->get_screen_position() + p_pos);

View file

@ -32,8 +32,6 @@
#include "objectdb_profiler_panel.h"
#include "core/object/callable_mp.h"
bool ObjectDBProfilerDebuggerPlugin::has_capture(const String &p_capture) const {
return p_capture == "snapshot";
}

View file

@ -32,10 +32,8 @@
#include "core/core_bind.h"
#include "core/io/compression.h"
#include "core/io/resource_loader.h"
#include "core/object/class_db.h"
#include "core/object/script_language.h"
#include "scene/debugger/scene_debugger_object.h"
#include "scene/debugger/scene_debugger.h"
#if defined(MODULE_GDSCRIPT_ENABLED) && defined(DEBUG_ENABLED)
#include "modules/gdscript/gdscript.h"
@ -277,11 +275,11 @@ void GameStateSnapshot::_get_rc_cycles(
SnapshotDataObject *next = objects[next_child.value];
if (next != nullptr && next->is_class(RefCounted::get_class_static()) && !next->is_class(WeakRef::get_class_static()) && !p_traversed_objs.has(next)) {
HashSet<SnapshotDataObject *> traversed_copy(p_traversed_objs);
HashSet<SnapshotDataObject *> traversed_copy = p_traversed_objs;
if (p_obj != p_source_obj) {
traversed_copy.insert(p_obj);
}
_get_rc_cycles(next, p_source_obj, std::move(traversed_copy), r_ret_val, child_path);
_get_rc_cycles(next, p_source_obj, traversed_copy, r_ret_val, child_path);
}
}
}
@ -312,9 +310,10 @@ void GameStateSnapshot::recompute_references() {
if (!obj.value->is_class(RefCounted::get_class_static()) || obj.value->is_class(WeakRef::get_class_static())) {
continue;
}
HashSet<SnapshotDataObject *> traversed_objs;
LocalVector<String> cycles;
_get_rc_cycles(obj.value, obj.value, HashSet<SnapshotDataObject *>(), cycles, "");
_get_rc_cycles(obj.value, obj.value, traversed_objs, cycles, "");
Array cycles_array;
for (const String &cycle : cycles) {
cycles_array.push_back(cycle);

View file

@ -36,8 +36,7 @@
#include "core/os/time.h"
#include "core/version.h"
#include "scene/main/node.h"
#include "scene/main/scene_tree.h"
#include "scene/main/window.h" // IWYU pragma: keep. Used via `get_root()`.
#include "scene/main/window.h"
void SnapshotCollector::initialize() {
pending_snapshots.clear();

View file

@ -30,11 +30,11 @@
#pragma once
#include "core/variant/dictionary.h"
#include "scene/debugger/scene_debugger_object.h"
#include "scene/debugger/scene_debugger.h"
struct SnapshotDataTransportObject : public SceneDebuggerObject {
SnapshotDataTransportObject() {}
SnapshotDataTransportObject() :
SceneDebuggerObject() {}
SnapshotDataTransportObject(Object *p_obj) :
SceneDebuggerObject(p_obj) {}