Closed tmpsantos closed 10 months ago
The use of nested classes seems to be broken, this will return 0 if the attribute is overridden:
tilesetClass->get<tson::TiledClass>("Transform").get<float>("Rotation") == 40.);
Made a PR fixing the issue, visually speaking, this is the use case that was not working (added to the test):
In this case I'm overriding Rotation, but when I do that, everything returns 0.
Rotation
The use of nested classes seems to be broken, this will return 0 if the attribute is overridden: