mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

JSON export changed behaviour in 1.11.0 #4041

smjnab posted onGitHub

In 1.11.0 when exporting to JSON all properties are included in the export. Previously only those with a modified value would be included. Not sure if this is intended or by mistake. In my case it creates issues as objects have values now that normally would be undefined and get their default values for specific cases.

An easy example would be that I use the layer tint to set the tint of all objects in that layer, unless an object have a value in the gfx class with a color property. This no longer works as all objects in a layer will have a #ffffff value etc.

json_diff JSON diff for export in 1.11.0 compared to old behaviour.

Expected behavior If intended, a feature request instead to have option in export settings for old behaviour.

Specifications:

  • OS: Linux (KDE Neon)
  • Tiled Version: 1.11.0

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests