From 7261321d34aaf4280b412b742e647eacf907aa9f Mon Sep 17 00:00:00 2001 From: Jayden Sipe Date: Tue, 15 Oct 2024 04:23:40 -0400 Subject: [PATCH] Show correct icons in EditorDebuggerRemoteObject --- editor/gui/editor_object_selector.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/editor/gui/editor_object_selector.cpp b/editor/gui/editor_object_selector.cpp index b73cd3b65cf..ec5caa8c2a5 100644 --- a/editor/gui/editor_object_selector.cpp +++ b/editor/gui/editor_object_selector.cpp @@ -30,6 +30,7 @@ #include "editor_object_selector.h" +#include "editor/debugger/editor_debugger_inspector.h" #include "editor/editor_data.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" @@ -131,6 +132,19 @@ void EditorObjectSelector::update_path() { Ref obj_icon; if (Object::cast_to(obj)) { obj_icon = EditorNode::get_singleton()->get_class_icon(Object::cast_to(obj)->get_edited_class_name()); + } else if (Object::cast_to(obj)) { + String class_name; + Ref