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
Enums are not usable although saving them to the Project file. #3295
Comments
|
When you say you "made sure to save the Enums in the Project file", what do you mean? Did you verify that the enums appear in the .tiled-project file, or do you just mean you exported them (which should be irrelevant)? |
|
@UliAbo Would it be possible for you to share a minimal zipped up project directory with which you can reproduce this issue? |
|
I just opened the project from yesterday and now it's there... So this is no real bug from my side, I guess. Just the restart is necessary... @bjorn Yesterday in the chat you mentioned problems other Users have - do they have the very same issue I described in my initial post? |
I think there was at least one other person who also needed to restart Tiled to see the types. However, that should not be necessary, so there's still a bug somewhere. Do additional enums you're adding at least show up without requiring a restart? |
|
Yes adding further ones works instantly. |
|
Alright, I was able to reproduce the problem. It appears to me, that this only happens when you did not initially had a project set up. So when you do things in this order:
Then, even though the types will be saved to the project, they do not show up in the Add Property dialog. For that to work, you'll need to have a project loaded either at startup or through opening it after startup. |
|
Okay! I definitely can confirm that. I did the same, I created the project and the enums all in one go. |
|
I think with the new Custom Types, this problem is gone? This can be closed? Or do I overlook something? |
|
@UliAbo I think you overlooked that this issue is already closed since a few months. :-) |
|
@UliAbo You should be able to see the status of an issue at the top of the page no matter how far down you scroll, that's the place to look. You don't have to hunt for the status in the timeline of the issue :] |
|
Okay thanks :D |




Describe the bug
I try to use Enums after saving them, but they don't show up in the CustomProperties of an selected Object, like I would expect it. I have also made sure to save the Enums in the Project file.
Expected behavior
Enums work :)
Media

Specifications:
The text was updated successfully, but these errors were encountered: