Level Editor Undo/Redo

Level Editor Undo/Redo

Postby squarecross » 11 Apr 2014, 23:08

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.
Attachments
UndoRedo.diff
(52.74 KiB) Downloaded 633 times
squarecross
 
Posts: 8
Joined: 01 Mar 2014, 19:06

Re: Level Editor Undo/Redo

Postby SanskritFritz » 16 Jun 2018, 20:46

This looks interesting! I tried to apply this patch to version 0.4.1 but it fails. Can you please help me with this?
SanskritFritz
 
Posts: 6
Joined: 19 Sep 2017, 21:22

Re: Level Editor Undo/Redo

Postby acme_pjz » 21 Jun 2018, 15:27

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. :)
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 572
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Who is online

Users browsing this forum: No registered users and 1 guest