Move to use blender::Map container instead std::unordered_map #47

Merged
Bogdan Nagirniak merged 17 commits from Vasyl-Pidhirskyi/blender_bn:BLEN-418 into hydra-render 2023-06-02 12:02:46 +02:00
Showing only changes of commit 5df34751f5 - Show all commits

View File

@ -217,10 +217,13 @@ void BlenderSceneDelegate::clear()
for (auto &it : instancers_.values()) { for (auto &it : instancers_.values()) {
it->remove(); it->remove();
} }
for (auto &it : materials_.values()) {
it->remove();
}
objects_.clear(); objects_.clear();
instancers_.clear(); instancers_.clear();
materials_.clear_and_shrink(); materials_.clear();
depsgraph = nullptr; depsgraph = nullptr;
context = nullptr; context = nullptr;