Hello all
I was wondering where to start for an undo command ?
Hello all
I was wondering where to start for an undo command ?
Any suggestion ?
are you familiar with undo list/graph implementations? If so, you'll know what you need in your state atoms, so creating the mapping from db alterating internal commands is the next challenge, right?
@scorp08 that depends on where a notion of undo should be supported. for example, is this a property of geometry (so if you send me geometry, if you allowed it, I could go back through the history and possibly undo changes, possibly even with a different application)? or is this a property of the application (so I can undo during my current editing session, possibly during future sessions with the same app)?
traditional undo is of course typically limited to the current running application only (not a property of geometry), and for that, there's nearly limitless possibilities. one could simply look at the last command, and do the opposite
Last updated: Jan 09 2025 at 00:46 UTC