Tv UpdateUndo

From TVPaintWiki
Jump to: navigation, search

<<<George<<<Command Reference<<<Undo

tv_UpdateUndo

Copies the contents of the current image in the current layer into the buffer undo memory. None of the draw commands described in this section updates this buffer memory. If you click on the Undo button after executing a George program, everything that the program has drawn in your image will be deleted. With this function you can update the undo buffer memory whenever you wish (for example at the beginning of the program).


Tips

tvp 11.0.1

I found out it is a good practice to use tv_updateUndo af tv_layerSet. Because using tv_lauerSet between tv_undoOpenStack and tv_undoCloseStack can cause a crash bug without using tv_updateUndo