mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 13:01:40 +02:00
Merge pull request #6130 from penpot/azazeln28-fix-tile-cache-exhaustion
🐛 Fix tile cache exhaustion
This commit is contained in:
commit
6231a9f931
2 changed files with 86 additions and 14 deletions
|
@ -462,10 +462,12 @@ impl RenderState {
|
|||
ey + interest_delta
|
||||
*/
|
||||
self.pending_tiles = vec![];
|
||||
self.surfaces.cache_clear_visited();
|
||||
for y in sy..=ey {
|
||||
for x in sx..=ex {
|
||||
let tile = (x, y);
|
||||
self.pending_tiles.push(tile);
|
||||
self.surfaces.cache_visit(tile);
|
||||
}
|
||||
}
|
||||
self.current_tile = None;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue