You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, TiledMap.tiledImages collects all images in the map including those without the source.
I think the TiledImages without source is not actually the "image".
For example, the following is a bare image layer without the source:
<imagelayerid="4"name="Image Layer 2"/>
I think it is a layer but doesn't include any image.
What could be improved
Change the
TiledMap.tiledImages
to return only tilesets that have an actualsource
.tiled.dart/packages/tiled/lib/src/tiled_map.dart
Lines 205 to 215 in 1d3043f
Why should this be improved
At present,
TiledMap.tiledImages
collects all images in the map including those without thesource
.I think the
TiledImages
withoutsource
is not actually the "image".For example, the following is a bare image layer without the source:
I think it is a layer but doesn't include any image.
The following is another example:
Also, this is a tileset but not includes any "image".
Any risks?
This cannot be true but there might be some users that use the empty
Tiledimage
.More information
The text was updated successfully, but these errors were encountered: