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

Clear (sub)group hashmaps when changing category.
This commit is contained in:
Danil Alexeev 2024-03-18 09:49:21 +03:00
parent fe01776f05
commit 9b7dcfa0e2
No known key found for this signature in database
GPG Key ID: 124453E157DA8DC7
1 changed files with 3 additions and 0 deletions

View File

@ -2806,6 +2806,9 @@ void EditorInspector::update_tree() {
subgroup_base = "";
section_depth = 0;
vbox_per_path.clear();
editor_inspector_array_per_prefix.clear();
if (!show_categories) {
continue;
}