- Editado
[suggestion] PS export script [merge] single layer issue
Hi Spine Team,
Because PS exporting is kind of slow, I sometimes pre-merge some complex [merge] layers myself before running the export script. e.g. for scene background that has dozens of layers, it could save minutes of exporting time. The problem is, if the script detected a single layer (non-folder) having a [merge] tag, it will stop exporting with an error. My suggestion is to ignore that [merge] tag so that the script can continue the export process.
Thanks
I'm surprised it's such a difference. I wonder why, as the script just does layer.merge()
on the group with the merge tag. It doesn't do processing on the layers in the group, except to check for the ignore tag.
It feels a little bad to not validate using merge on a layer, but OK, we've done it. Script version 5.4.
I think the slow down is due to invoking every line of code in the big loop instead of just the merge() call.
Thanks for the quick update!