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
Describe the bug
Importing an Object (now Class) Types Editor file that worked fine in 1.8.6 only imports the names in 1.9, none of the custom properties themselves appear to be importing correctly.
To Reproduce
Steps to reproduce the behavior:
Create a project
Import the attached object types file
Open Custom Types Editor
Select a custom type
See that there's no properties
Get confused
Expected behavior
I expected the object types to have their custom properties imported as they were defined in the file, and each be individually visible in that big empty space, and for them to then be usable to reference in maps and stuff.
Media
Importing the attached object_types.json file in 1.8.6:
Importing that same file in 1.9.1:
Here's the file in question (Github doesn't let me upload json files, so rename this file from .txt to .json and try it) object_types.txt
Specifications:
OS: Windows 10
Tiled Version: 1.9.1 (worked fine in 1.8.6)
The text was updated successfully, but these errors were encountered:
Ah, this isn't really a bug but unfortunately quite bad usability. The JSON format changed in Tiled 1.9, and when importing types, it expects you to select the right file type:
Importing of "Object Types JSON" files does not work when you select "Custom Types files" (the default).
I will have a look at auto-detecting the old format in the Import dialog, but I'm afraid the distinction will remain relevant for the Export dialog, since the extension is the same.
Describe the bug
Importing an Object (now Class) Types Editor file that worked fine in 1.8.6 only imports the names in 1.9, none of the custom properties themselves appear to be importing correctly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected the object types to have their custom properties imported as they were defined in the file, and each be individually visible in that big empty space, and for them to then be usable to reference in maps and stuff.
Media
Importing the attached object_types.json file in 1.8.6:
Importing that same file in 1.9.1:
Here's the file in question (Github doesn't let me upload json files, so rename this file from .txt to .json and try it)
object_types.txt
Specifications:
The text was updated successfully, but these errors were encountered: