Undo/Redo Stacks & Flood Fill

Hi. There is a Video Link in my last comment, showing how it is behaving. Here is that Link again: https://youtu.be/PD2N-htjEbA

I don’t know how to set up the List Picker to see my Image files from the Stack. However, when I clicked “Do it” on the Image Stack, I could see that the correct number of Images were in the Stack.

Wait….I stand corrected. Here, I clicked 2 times. The ImageStack on the Touched event shows no files. And the ImageStack on the Redo event shows 3 files, even though I only clicked it 2 times. Prior to clicking, that RedoStack had 1 file in it, even though I had hit the ResetToPinwh button. So, I am not sure what file it is holding before I click.

And the ImageStack on the Undo event is not clearing at all, even though I hit the RestToPinWh button prior to clicking those 2 times. Are all the ImageStacks supposed to show the same amount of files?

Why are you using different global variables for the Undo/Redo stack?
Pick a variable, and stick with it.

I'm not using different variables.

Sorry, my eyes couldn't make out the names and the origins of the bubbles. You're right, it's the same variable.

How many Image Stacks do you have?

Could you be mistaking the Do It bubbles on global variables for live windows into their contents?

They are just snapshots in time.

If you stretch out a comment bubble, you might even find residue of previous Do It actions.

I am only using 1 ImageStack Variable, just like your example. But, when I click Do it on the different events, at the same moment in time, it shows a different amount of files within each event.

Before you do a Do It on a block, do a Remove Comment to flush out the prior Do It text.

Also, the comment bubbles lack scroll bars, so you might need to stretch them to see their entire content.