General Category > General Anim8or Forum
Coding Anim8or
nemyax:
Steve
Are you planning any major rewrites after 1.0 or will it be bit by bit?
Steve:
I have a lot more ideas for Anim8or. I don't want to post a list because some of them, like IK, will take a lot longer that I think they will. We programmers can be exceedingly optimistic about how fast we can do something
nemyax:
Steve
What's the current implementation of undo/redo like? And how would you improve it?
Steve:
It's an ad hoc set of classes that record differences between the original and altered component. If I could rewrite it from scratch I'd have each class summarize the difference between the two and hide all of the undo/redo code inside the class. The undo/redo code would be a whole lot simpler.
As it is the component classes need to expose more of the internal structure to the undo/redo functions which then need to be updated whenever the component classes change.
cooldude234:
--- Quote from: Steve on May 02, 2017, 04:58:20 pm ---The second issues is that it's not 64-bit safe. I'm slowly fixing that but I still have code that casts pointers into ints for thinks like call back functions (yes, I knew better, but did it anyway to "save time"!)
--- End quote ---
LOL, I know that feeling
Navigation
[0] Message Index
[*] Previous page
Go to full version