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

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;
}