forked from blender/blender
Move to use blender::Map container instead std::unordered_map #47
@ -217,10 +217,13 @@ void BlenderSceneDelegate::clear()
|
||||
for (auto &it : instancers_.values()) {
|
||||
it->remove();
|
||||
}
|
||||
for (auto &it : materials_.values()) {
|
||||
it->remove();
|
||||
}
|
||||
|
||||
objects_.clear();
|
||||
instancers_.clear();
|
||||
materials_.clear_and_shrink();
|
||||
materials_.clear();
|
||||
|
||||
depsgraph = nullptr;
|
||||
context = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user