|
|
@ -743,7 +743,7 @@ namespace MWRender
|
|
|
|
ccf.mCell = cell;
|
|
|
|
ccf.mCell = cell;
|
|
|
|
mCache->call(ccf);
|
|
|
|
mCache->call(ccf);
|
|
|
|
if (ccf.mToClear.empty()) return false;
|
|
|
|
if (ccf.mToClear.empty()) return false;
|
|
|
|
for (auto chunk : ccf.mToClear)
|
|
|
|
for (const auto& chunk : ccf.mToClear)
|
|
|
|
mCache->removeFromObjectCache(chunk);
|
|
|
|
mCache->removeFromObjectCache(chunk);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -765,7 +765,7 @@ namespace MWRender
|
|
|
|
ccf.mActiveGridOnly = true;
|
|
|
|
ccf.mActiveGridOnly = true;
|
|
|
|
mCache->call(ccf);
|
|
|
|
mCache->call(ccf);
|
|
|
|
if (ccf.mToClear.empty()) return false;
|
|
|
|
if (ccf.mToClear.empty()) return false;
|
|
|
|
for (auto chunk : ccf.mToClear)
|
|
|
|
for (const auto& chunk : ccf.mToClear)
|
|
|
|
mCache->removeFromObjectCache(chunk);
|
|
|
|
mCache->removeFromObjectCache(chunk);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|