Profile image

The logic behind the undo button

234k jamesPLANESii  1.8 years ago

On this site, I constantly see heaps of people saying that the undo button is broken. Saying it undoes more steps than they want it to, it undoes heaps and heaps of work and sets them back an hour, or undoing has caused the plane to duplicate 6 times and 2 of the duplications have turned pink.

I've played SP since it's release, on 2 iPads, an android phone, 3 Windows PCs and a MacOS device, and on literally all of those platforms, my undo button has been fully functional and usable. For a long time I was wondering why everyone gets so many issues with it, but lately I've been watching people build while streaming on discord and talking to people about the problems that they have, and I've come to the conclusion that they're not using it correctly.

The way the undo button works is, once you've done certain things, the game saves the steps you've done, and when you undo, the game goes back to the save that is prior to the latest save. The only problem is, this "step saving" thingy doesn't happen after doing every step.

Here's the logic:

  • It doesn't count when you use designer enhancement mods, such as DesignerSuite, Overload and Fine Tuner.

    This is the most common silly thing that I see people complaining about saying the undo button doesn't work. From what I've heard, getting designer mods to work with the undo button isn't actually possible. Thus... yeah. Also this is why I never use fine tuner to rotate individual parts lol.

  • If you edit the shape of a fuselage, it counts all edits you've done with the menu open as 1 step, even if you adjust the shape of multiple parts and click on other ones.

  • All nudging and rotating using the tinker panel is 1 step, even if you've gone back and forth and selected different things and parts while still in the tinker panel.

  • Every time you drag a part it counts as a step

  • Every time you grab a new part or delete a part, it counts as a step (unless you grab a new part and drag it straight to the bin without dropping it, then it doesn't count)

    If you've done some XML modding and want to step save it, grabbing a new part, dropping it, and then deleting it is a good way to save it.

  • Every time you rotate a part normally, it counts as a step (using WASD or arrow buttons)

  • Painting your craft counts as a step (closing the paint editor is what sets the step)

  • Editing the text on labels doesn't count as a step

  • If you go back, it will go 2 step saves ago, so if you go forward a step, it will go back to when the game did the last step save, so if you go back and it undoes way too much, try going forward a step, it might bring you to where you actually wanted to go.

  • Connection editing does not count as a step (this includes reattaching or pressing shift+K

  • Spamming the undo button heaps of times before the first undo has loaded is going to cause your plane to duplicate and do weird garbage like turning pink. Only press the undo button once, and wait for that undo to complete before pressing the button again.


Okay, the undo button definitely isn't perfect. I really wish it would add steps when you're changing between fuselages when you're adjusting, their shape, I wish it would save steps when you go between nudging and rotating when you're using the tinker panel, I wish it would save a step when you close overload, and I wish it would save when you edit connections. But it doesn't which is annoying.

Another thing to note that might help you remember this is, back in version 1.1, the undo button worked seamlessly for pretty much everything. But as new things have been added to the game, making them work with the undo button seems to have fallen by the wayside, to where certain things thatvreally should work as a step... don't.
So basically the newer the thing is in the designer... the less likely it's going to make a step save.

  • Log in to leave a comment
  • Profile image
    422 Frocet

    I was just wondering if you could un curate my plane https://www.simpleplanes.com/a/SGC6B5/Vampire-test-7

    1.5 years ago
  • Profile image
    497 FlightFun

    50th upvote!! Also tank you SO MUCH for explaining this to people!

    1.6 years ago
  • Profile image

    @jamesPLANESii yesterday I was working on my sabre and decided to look at others to compare, and one had the same save name as my sabre, at first I thought I lost all the progress when I realized, luckily the undo saved exactly where I left off, I just had to take a taiwanese f-86 outside of it

    +1 1.6 years ago
  • Profile image

    FT users are not the only people to suffer, Click it to much and your aircraft becomes doubled and irreversible, stacked on top of the other and if its already making your computer catch fire then once its doubled your PC will crash even time you load it and God hope you quick save otherwise your better off starting from scratch.

    1.7 years ago
  • Profile image

    @JustWingIt Take the first rock you see and throw it in the air. If the angle it lands on relative to what it was before you picked it up is a prime number, square that number, if not and it's an even number, divide it by π. If the angle is neither prime nor even, multiply it by how many letters this comment has.

    Then take the resulting value, show it to the Undo button and if it likes the number it'll work flawlessly, if it doesn't the gates of h*** open and what comes out depends on your luck.

    That's how it was probably coded.

    +5 1.8 years ago
  • Profile image
    26.2k Default4

    Inexplicably real

    1.8 years ago
  • Profile image
    3,340 JustWingIt

    The real logic of the undo button:

    • It decides randomly how many things to undo
    • You never get it right on the first try
    • It decides randomly whether to crash your game or not
    • Sandblasts your paint job every wednesday at 3:51pm

    *Also dude, really good observations of this thing that used to be an enigma to me. Thanks!

    +7 1.8 years ago
  • Profile image
    2,298 Bo1233

    maybe this should be a pinned post

    +1 1.8 years ago
  • Profile image
    6,923 G2

    Huh! Learned something new today.

    +1 1.8 years ago
  • Profile image

    @Tookan No you can still do that if you want lol. There's no such things as too much saving :)

    +1 1.8 years ago
  • Profile image
    9,409 Tookan

    So saving after placing 1 fuselage or every 2 minutes isn't inefficient?

    1.8 years ago
  • Profile image
    28.3k goboygo1

    I've known how it worked for a long time, never had the patience to explain it to anybody. Props for writing all this out for those who didn't know!

    +2 1.8 years ago
  • Profile image
    42.7k phrongus

    no way he swicthed back to regluar pfp

    +4 1.8 years ago
  • Profile image
    29.9k Nerfaddict

    @jamesPLANESii I was lazy(and yes, that video is actually of me pressing the undo button over and over)

    1.8 years ago
  • Profile image
    29.6k 32
    1.8 years ago
  • Profile image

    I mean I hate coming on this stupid site with a passion but I saw this whilst going an clearing out notifications just wanted to say the undo button has zero logic just a simple thought process of how much an how badly do I wanna screw this builder over

    1.8 years ago
  • Profile image
    43.7k ShinyGemsBro

    @jamesPLANESii 1.12.128.0
    I click once and the build goes back to what it originally was. Gets real frustrating especially if I'm changing stuff in cockpits. Sometimes even outright switching to the last build I flew/drove wholesale

    1.8 years ago
  • Profile image

    @ShinyGemsBro What version of SP are you on? I know there's one experimental version where they stopped the saving step thing to see of it affects performance back in one of the updates.

    1.8 years ago
  • Profile image
    43.7k ShinyGemsBro
    • press undo
    • square one
    • leave
    +2 1.8 years ago
  • Profile image

    @Nerfaddict Holy damn. Probably would have been better to just modify it a bit lol

    1.8 years ago
  • Profile image
    29.9k Nerfaddict

    I once pressed the undo button about 47 times on one build because I accidentally built a DMR when I meant to build an AR without saving
    |
    If that ain't russian roulette, I don't know what is

    +2 1.8 years ago
  • Profile image
    25.9k OwO

    Unno, When I pressed it, it went forwards

    1.8 years ago
  • Profile image

    @jamesPLANESii
    editing labels yah

    1.8 years ago
  • Profile image
    3,656 Dathcha

    Thank you, hopefully the cheesecake demons go away @jamesPLANESii

    1.8 years ago
  • Profile image

    @Dathcha There's your problem. Press it once and wait.

    1.8 years ago
  • Log in to see more comments