mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
Fix inspector section iteration in update_tree
This commit is contained in:
parent
f952bfe998
commit
bead829fd5
@ -3648,8 +3648,6 @@ void EditorInspector::update_tree() {
|
||||
for (List<EditorInspectorSection *>::Element *I = sections.back(); I; I = I->prev()) {
|
||||
EditorInspectorSection *section = I->get();
|
||||
if (section->get_vbox()->get_child_count() == 0) {
|
||||
I = I->prev();
|
||||
|
||||
sections.erase(section);
|
||||
vbox_per_path[main_vbox].erase(section->get_section());
|
||||
memdelete(section);
|
||||
|
Loading…
Reference in New Issue
Block a user