From 96e59b99baa53021058663e3c764ba98f2bb8965 Mon Sep 17 00:00:00 2001 From: AeioMuch <75151379+AeioMuch@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:09:39 +0100 Subject: [PATCH] Cleanup editor history when opening the history menu popup & set appropriate class icon for object in it. Handle do&undo for selection when reparenting --- editor/editor_node.cpp | 20 +++++++++++++++++++- editor/editor_node.h | 4 ++-- editor/gui/editor_object_selector.cpp | 22 +--------------------- editor/inspector_dock.cpp | 2 ++ editor/scene_tree_dock.cpp | 20 +++++++++----------- 5 files changed, 33 insertions(+), 35 deletions(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index d4da4ab0109..daaa50c37a6 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -4886,11 +4886,29 @@ Ref EditorNode::get_object_icon(const Object *p_object, const String ERR_FAIL_NULL_V_MSG(p_object, nullptr, "Object cannot be null."); Ref