Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
Bart Louwers
parent
0c6f2f2a7f
commit
bbb8bf3c1e
@@ -346,8 +346,7 @@ void RenderFillLayer::update(const int32_t layerIndex,
|
||||
if (!renderTiles || renderTiles->empty()) {
|
||||
if (!tileDrawables.empty()) {
|
||||
removeDrawables<decltype(tileDrawables)::const_iterator>(
|
||||
tileDrawables.cbegin(), tileDrawables.cend(), changes,
|
||||
[](auto& ii) { return ii->second->getId(); });
|
||||
tileDrawables.cbegin(), tileDrawables.cend(), changes, [](auto& ii) { return ii->second->getId(); });
|
||||
tileDrawables.clear();
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user