In the automatic mode, the Undo function only records the last Painting action in order to conserve memory. The Undo buffer records all actions from the moment that the left mouse button is pressed to begin using a tool until the moment that the button is released. The recording is deleted and a new one begun as soon as a tool is used again.