Closed ManPython closed 2 months ago
When you set a class on a tile, it is not possible to clear this class on a tile object using this tile. That is because the "empty" class means "inherit the class from the tile". So the only way to have no class at all on a tile object, is to erase the class field for both the object and the tile.
I don't consider this a bug. If you have a real need for specifying a class on the tile, but not seeing it on the tile object, you might want to explain your use-case.
Not sure yet, but if this type algorithm exist, then when deleting name and exist "inherit" as other relation, then when trying delete should be log/info about no option due relations maybe. Then issue is more feature.
When the class is inherited rather than set explicitly, it is greyed out like this, consistent with other inherited properties:
Describe the bug Tile object wan't delete class/type if name - always this same. On other objects is ok.
To Reproduce Steps to reproduce the behavior:
Expected behavior Delete class/type name
Media Related issue: https://github.com/mapeditor/tiled/issues/4051
Specifications: