TheDuckCow / godot-road-generator

A godot plugin for creating 3D highways and streets.
MIT License
313 stars 16 forks source link

54 panel undo redo support #83

Closed TheDuckCow closed 1 year ago

TheDuckCow commented 1 year ago

Adding most of the missing undo/redo support. This includes for all panel buttons, and an undo/redo that works for add 2x2 roads.

The undo stack is generally quite good. Redo however, if it involves the re-adding of a node with an initial selection, will fail after the first level of redo, since future references which were put into the stack were lost already.

TheDuckCow commented 1 year ago

All GUT tests pass. Added you @bdog2112 to review after the merge sometime in April when you have time. More just a spot check at that moment, in case you see anything funny that I overlooked in the meantime. However, I'm proceeding to merge for the alpha launch today.