I am a rookie in scripting-fu , I am sure that I am missing a very basic thing.
I have written a very simple script (unfold.scm) sometime ago, which was working in previous versions of Gimp. But i could not manage it to work as expected in 2.8.
The script is supposed to unfold (copy + flip) 4 times an image to create tileable textures.
However, output becomes as: /
The script is attached.
I appreciate any help.