Explorar el Código

Merge pull request #99204 from berarma/patch-1

Clarify documentation for TileSetAtlasSource `texture_region_size`
Rémi Verschelde hace 10 meses
padre
commit
778723d935
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      doc/classes/TileSetAtlasSource.xml

+ 1 - 1
doc/classes/TileSetAtlasSource.xml

@@ -270,7 +270,7 @@
 			The atlas texture.
 		</member>
 		<member name="texture_region_size" type="Vector2i" setter="set_texture_region_size" getter="get_texture_region_size" default="Vector2i(16, 16)">
-			The base tile size in the texture (in pixel). This size must be bigger than the TileSet's [code]tile_size[/code] value.
+			The base tile size in the texture (in pixel). This size must be bigger than or equal to the TileSet's [code]tile_size[/code] value.
 		</member>
 		<member name="use_texture_padding" type="bool" setter="set_use_texture_padding" getter="get_use_texture_padding" default="true">
 			If [code]true[/code], generates an internal texture with an additional one pixel padding around each tile. Texture padding avoids a common artifact where lines appear between tiles.