forked from blender/blender
Move to use blender::Map container instead std::unordered_map #47
@ -385,11 +385,11 @@ void InstancerData::write_instances()
|
||||
|
||||
/* Remove mesh intances without indices */
|
||||
mesh_instances_.remove_if([&](auto item) {
|
||||
bool res = item.value.indices.empty();
|
||||
if (res){
|
||||
item.value.data->remove();
|
||||
}
|
||||
return item.value.indices.empty();
|
||||
bool res = item.value.indices.empty();
|
||||
if (res) {
|
||||
item.value.data->remove();
|
||||
}
|
||||
return res;
|
||||
});
|
||||
|
||||
/* Update light intances and remove instances without transforms */
|
||||
|
Loading…
Reference in New Issue
Block a user