VoylinsGamedevJourney / gozen

The modular video editor
https://youtube.com/@voylinsgamedevjourney
GNU General Public License v3.0
145 stars 22 forks source link

Adding undo + redo #86

Closed voylin closed 9 months ago

voylin commented 9 months ago

This is a very simple undo/redo system. Basically anything which needs to be able to be undone/redone, needs to be called through the ActionHandler.

This will need work in the future as this is probably not the best nor most performant way of handling this. But good enough for now.

I'll leave this as a PR for a bit to see if people have any comments/suggestions/improvements on this.

aappaapp commented 9 months ago

May I ask what does "al" stands for in al_action_handler.gd?

voylin commented 9 months ago

May I ask what does "al" stands for in al_action_handler.gd?

al = autoload I do this to make it easier to see when I'm inside on an autoload or not.