Merge pull request #111614 from YYF233333/typed-dict-include

Remove `typed_dictionary.h` include where it's unused or can be forward-declared
This commit is contained in:
Thaddeus Crews 2026-02-19 09:46:05 -06:00
commit d59205aa61
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
4 changed files with 11 additions and 6 deletions

View file

@ -33,6 +33,7 @@
#include "core/debugger/debugger_marshalls.h"
#include "core/io/marshalls.h"
#include "core/io/resource_loader.h"
#include "core/variant/typed_dictionary.h"
#include "editor/docks/inspector_dock.h"
#include "editor/editor_node.h"
#include "editor/editor_undo_redo_manager.h"
@ -113,6 +114,11 @@ Variant EditorDebuggerRemoteObjects::get_variant(const StringName &p_name) {
return var;
}
void EditorDebuggerRemoteObjects::clear() {
prop_list.clear();
prop_values.clear();
}
void EditorDebuggerRemoteObjects::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_title"), &EditorDebuggerRemoteObjects::get_title);
ClassDB::bind_method("_hide_script_from_inspector", &EditorDebuggerRemoteObjects::_hide_script_from_inspector);

View file

@ -30,11 +30,13 @@
#pragma once
#include "core/variant/typed_dictionary.h"
#include "editor/inspector/editor_inspector.h"
class SceneDebuggerObject;
template <typename K, typename V>
class TypedDictionary;
class EditorDebuggerRemoteObjects : public Object {
GDCLASS(EditorDebuggerRemoteObjects, Object);
@ -60,10 +62,7 @@ public:
String get_title();
Variant get_variant(const StringName &p_name);
void clear() {
prop_list.clear();
prop_values.clear();
}
void clear();
void update() { notify_property_list_changed(); }
};

View file

@ -34,6 +34,7 @@
#include "core/debugger/debugger_marshalls.h"
#include "core/debugger/remote_debugger.h"
#include "core/string/ustring.h"
#include "core/variant/typed_dictionary.h"
#include "core/version.h"
#include "editor/debugger/editor_debugger_plugin.h"
#include "editor/debugger/editor_expression_evaluator.h"

View file

@ -30,7 +30,6 @@
#pragma once
#include "core/variant/typed_dictionary.h"
#include "scene/gui/box_container.h"
#include "scene/gui/graph_frame.h"
#include "scene/gui/graph_node.h"