04-21-2020, 12:34 PM
When you do gimp-image-merge-down it creates a new layer, so you need to find out what this is so it can be passed to plug-in-make-seamless.
For example I re-used theLayer as it doesn't exist after the merge down:
I also added the gimp-displays-flush so that it displayed the results so far.
For example I re-used theLayer as it doesn't exist after the merge down:
Code:
(set! theLayer (car (gimp-image-merge-down theImage theDesign 1)))
(plug-in-make-seamless RUN-NONINTERACTIVE theImage theLayer)
(gimp-displays-flush)