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
Tiled 1.9 changed the name of the "type" property to "class". This causes a problem for the type variable within TiledObject.
The type variable is set using the XML attribute source.att.type, but to retrieve the class node you'd need to get source.att.class, which throws "Unexpected class" because the name "class" is reserved. Tiled allows for a compatibility setting to be toggled to force the name of the variable stay as "type", but new users unaware of this will have problems with the latest Tiled.
Is there an easy way around this?
The text was updated successfully, but these errors were encountered:
Tiled 1.9 changed the name of the "type" property to "class". This causes a problem for the
type
variable withinTiledObject
.The
type
variable is set using the XML attributesource.att.type
, but to retrieve the class node you'd need to getsource.att.class
, which throws "Unexpected class" because the name "class" is reserved. Tiled allows for a compatibility setting to be toggled to force the name of the variable stay as "type", but new users unaware of this will have problems with the latest Tiled.Is there an easy way around this?
The text was updated successfully, but these errors were encountered: