Alright, I added the 'duplicate final layers' code I described earlier to my
plugin and it worked.
In fact, it worked even better than I expected. With 2 final layers @2400*1755
in this case, the copying of the layers from frozen 'working' undo memory to a
thawed, undo-able group happened
> TL;DR: I need a way to either go back an undo step (Ctrl-Z) or to clear an
> undo step from the list in my Python script.
There is no API to adding, popping or applying undo steps.
In the past, I've done things like duplicate the image on plug-in
start, and disable undo completely
on the