-
Notifications
You must be signed in to change notification settings - Fork 260
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
[cute_tiled_h]: Field name
points to wrong memory address.
#368
Comments
This is also an issue with custom properties. Exported tileset with custom property: test.json |
.ptr is the correct way to get the string. It could be that name isn't loaded for each object.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When naming objects in collision editor I can't for some reason access that name. I have 2 objects (first is named ˙test`):
To read the 2 objects I use the following code:
I get the correct position and size of rectangles, but the name points to invalid memory address. Derefrencing it, causes segfault.
In exported json file I can see that it has correct name
test
.Exported json: test.json
Tiled tileset: tileset.zip
I am wondering what exactly am I doing wrong and how do I access to the
name
field.The text was updated successfully, but these errors were encountered: