fixed: in ModelWrapper::clear_childs() childs_map.clear() was called in the loop, should be at the end

This commit is contained in:
Tomasz Sowa 2021-06-22 11:59:11 +02:00
parent a8fe798279
commit e74575db42
1 changed files with 2 additions and 2 deletions

View File

@ -99,9 +99,9 @@ public:
delete map_item.second; delete map_item.second;
map_item.second = nullptr; map_item.second = nullptr;
} }
childs_map.clear();
} }
childs_map.clear();
} }
virtual void add_child(const std::wstring & child_name, ModelWrapper * models_base) virtual void add_child(const std::wstring & child_name, ModelWrapper * models_base)