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

Custom Types Support #184

Open
xivol opened this issue Mar 13, 2024 · 0 comments
Open

Custom Types Support #184

xivol opened this issue Mar 13, 2024 · 0 comments

Comments

@xivol
Copy link

xivol commented Mar 13, 2024

It seems that support for custom types in Tiled Project files is broken.
The code is all there for it to work but it doesn't pass the right arguments around.

546            self.parse_json(json.load(open(custom_property_filename))["propertyTypes"])

559        TiledElement._set_properties(self, node, self.custom_types)

1262            p.update(parse_properties(child, self.parent.custom_types))

I fixed it in couple of lines, should we do a PR or can the author just fix it? Idk how community works here.

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

1 participant