Stream: brlcad

Topic: undo


view this post on Zulip scorp08 (Jan 27 2020 at 17:39):

Hello all
I was wondering where to start for an undo command ?

view this post on Zulip scorp08 (Feb 01 2020 at 06:22):

Hello all
I was wondering where to start for an undo command ?

Any suggestion ?

view this post on Zulip Erik (Feb 01 2020 at 13:54):

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?

view this post on Zulip Sean (Feb 03 2020 at 17:47):

@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)?

view this post on Zulip Sean (Feb 03 2020 at 17:50):

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: Oct 09 2024 at 00:44 UTC