From 8aff153ea2fb33b1d96c3bc07f9726752c16d701 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Mon, 18 Mar 2024 09:49:21 +0300 Subject: [PATCH] Editor: Fix same-name (sub)groups interfering in Inspector Clear (sub)group hashmaps when changing category. (cherry picked from commit 9b7dcfa0e2c2669f7ba2c34cd45482279028d5b5) --- editor/editor_inspector.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 715d0ca34e2..92bba034630 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -2774,6 +2774,9 @@ void EditorInspector::update_tree() { subgroup_base = ""; section_depth = 0; + vbox_per_path.clear(); + editor_inspector_array_per_prefix.clear(); + if (!show_categories) { continue; }