Thank you for the pointers. I will digest the examples.
SteveHill3D
@SteveHill3D
I am a semi-retired software engineer and former university lecturer. I have been developing C++ since C++ existed and one day hope to get good at it. I have worked in 3D graphics from CAD/CAM to graphics drivers. I have created plugins for Modo (Primo, Selma, Patty, Emmy, Selene, Harry, Victor) and am hoping to bring some of them to Cinema 4D.
Latest posts made by SteveHill3D
-
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.