Apply automap rules on all layers
Hi, (Again)
I read the entire documentation about Automapping with Tiled but I do not find the answer to my question.
Is there any way to search the input layer pattern through all layers of the map. Like having an input layer name as input_* instead of input_background.
This would be very useful for the maintenance instead of copying it as many time as number of map layers.
Best regards, Birmania
To fix this we would need to look into AutoMapper::applyRule
foreach (const QString &name, ii.names) {
const int i = mMapWork->indexOfLayer(name, Layer::TileLayerType);
and replace indexOfLayer with a smarter comparison (e.g. a regex parser to yield all layers that match), see discussion in https://github.com/bjorn/tiled/issues/662 as well.
I'd still love to see this feature!