Page 1 of 1

Level Editor Undo/Redo

PostPosted: 11 Apr 2014, 23:08
by squarecross
Here is a undo/redo system based on this. Added the regular Ctrl+z for undo and Ctrl+y for redo.
It supports undo/redo for:
  • Adding and Removing objects
  • Moving objects
  • Adding and Removing paths
  • Adding and Removing links
There are also some minor touch ups from the last patch.

Tell me what you think.

Re: Level Editor Undo/Redo

PostPosted: 16 Jun 2018, 20:46
by SanskritFritz
This looks interesting! I tried to apply this patch to version 0.4.1 but it fails. Can you please help me with this?

Re: Level Editor Undo/Redo

PostPosted: 21 Jun 2018, 15:27
by acme_pjz
Hi,

I have applied your patch (with substantial modifications). It's already in the latest git version.

However, since there are some feature additions since 0.4.1, still a lot of them are uncovered by the undo/redo system. Later I'll check them when I have time.

Meanwhile you can also fork the repository at github and submit a pull request. :)