Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save Tiled Properties for single tile not working #147

Open
univeous opened this issue May 20, 2022 · 1 comment
Open

Save Tiled Properties for single tile not working #147

univeous opened this issue May 20, 2022 · 1 comment

Comments

@univeous
Copy link
Contributor

Plugin version

2.4
Issue description

Tile's Tiled properties (type etc.) (not TileSet) are not imported.

if options.save_tiled_properties and rel_id in ts.tiles:
for property in whitelist_properties:
if property in ts.tiles[rel_id]:
if not gid in tile_meta: tile_meta[gid] = {}
tile_meta[gid][property] = ts.tiles[rel_id][property]

ts.tiles[rel_id] will only contain custom property so L818 - L819 will never be executed.
Steps to reproduce

Sample map or tileset

@erniel
Copy link

erniel commented Jul 22, 2022

this can be fixed by tabbing once lines 815-823

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants