I am adding more (personal) features to the editor and I am having an issue locating the source that handles custom (scripted) exports. Specifically the file(s) that processes API request for object data. I have support for tinting individual objects and access to exporting that data in the form of "tintColor = “#xxxxxx”. My issue lies in the code exporting unset data as #000000. I wish to exclude anything with
if (mapObject->tintColor().isValid())
writeColor("tintColor", mapObject->tintColor());
This works in Luaplugin.cpp, but for customs, I cannot find the source that handles it. Can anyone please assist? Maybe @bjorn? Thanks.