Fix get_used_rect() calculation
This commit is contained in:
parent
dcf2a62b05
commit
665dc7805b
2 changed files with 17 additions and 11 deletions
|
|
@ -213,8 +213,8 @@ private:
|
|||
// Rect.
|
||||
Rect2 rect_cache;
|
||||
bool rect_cache_dirty = true;
|
||||
Rect2 used_size_cache;
|
||||
bool used_size_cache_dirty = true;
|
||||
Rect2i used_rect_cache;
|
||||
bool used_rect_cache_dirty = true;
|
||||
|
||||
// TileMap layers.
|
||||
struct TileMapLayer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue