ActionMgr DzUndoAction is it possible to get the list of undo(s)
DraagonStorm
Posts: 748
After doing different things in Daz Studio there is a list of actions that can be undone from Edit->Undo. This only shows the most recent action. Is there a way to get what other actions are in that current list.
Comments
Undo/Redo items and actions are not synonymous; an action doesn't have to create an undo/redo-able operation, and undo/redo-able items can be created independent of an action (e.g., script, tool interaction, property interaction, etc.). DzUndoStack is the closest thing you can get to "a list" of undo/redo items. You cannot (currently) get the caption of an arbitrary item in the stack, though you can get the caption of the adjacent undo/redo item. That said, I have just extended the DzUndoStack API by adding the ability to
getCurrentIndex()
andgetCaption( Number offset = 0 )
, but you'll have to wait to use them until 4.9.3.61 or newer.-Rob