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

Reading the new "class" property instead of "type" #2397

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

moufmouf
Copy link
Collaborator

@moufmouf moufmouf commented Jul 6, 2022

Tiled 1.9 replaced "type" properties with "class".
This commit reads the new "class" property where we previously read "type".

Because the maps are already upgraded to Tiled 1.9 format, we should not see any backward compatiblity impact.

See #2352

@moufmouf moufmouf added this to the v1.11.x milestone Jul 6, 2022
@moufmouf moufmouf requested a review from Waclaw-I July 6, 2022 12:02
@moufmouf moufmouf modified the milestones: v1.11.x, v1.12.0 Jul 6, 2022
@moufmouf moufmouf added the bug Something isn't working label Jul 6, 2022
@moufmouf moufmouf force-pushed the migrating_type_property_to_class branch from 7d36da7 to 9d2d513 Compare July 6, 2022 12:13
Tiled 1.9 replaced "type" properties with "class".
This commit reads the new "class" property where we previously read "type".

Because the maps are already upgraded to Tiled 1.9 format, we should not see any backward compatiblity impact.
@moufmouf moufmouf force-pushed the migrating_type_property_to_class branch from 9d2d513 to 291a53c Compare July 6, 2022 13:10
@moufmouf moufmouf merged commit 06bae1b into develop Jul 6, 2022
@moufmouf moufmouf deleted the migrating_type_property_to_class branch July 6, 2022 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant