Sfoglia il codice sorgente

Editor: Fix same-name (sub)groups interfering in Inspector

Clear (sub)group hashmaps when changing category.

(cherry picked from commit 9b7dcfa0e2c2669f7ba2c34cd45482279028d5b5)
Danil Alexeev 1 anno fa
parent
commit
8aff153ea2
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      editor/editor_inspector.cpp

+ 3 - 0
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;
 			}