소스 검색

Make size cache dirty when removing tiles in 'TileMap'

(cherry picked from commit be5f35dfa00c79ab05595d08dca59dfc53912327)
Michael Alexsander Silva Dias 6 년 전
부모
커밋
373e6aa17a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      scene/2d/tile_map.cpp

+ 1 - 0
scene/2d/tile_map.cpp

@@ -773,6 +773,7 @@ void TileMap::set_cell(int p_x, int p_y, int p_tile, bool p_flip_x, bool p_flip_
 		else
 			_make_quadrant_dirty(Q);
 
+		used_size_cache_dirty = true;
 		return;
 	}