Thank you for the pointers. I will digest the examples.
Posts
-
RE: Advice on implementing undo/redo in a Tool
-
Advice on implementing undo/redo in a Tool
C4D SDK newbie here. I am implementing a geometry creation Tool which works by dragging an initial shape and then allows multiple edits through handle or other drags in the viewport or via attribute changes in the AM. I would like these changes to be undoable while the tool is active i.e. until the tool is finalized via ESC or something happens like the active object changes.
Does anyone have any advice on how best to manage this?
(I reluctantly asked three AIs and got three answers -- hidden tag (Copilot), object base container (ChatGPT) and do it yourself (Claude))
Thanks.