copy/paste preserving pressure

  • 12Me21
    28th Oct 2017 Member 0 Permalink

    Could there be some way to disable this? I've never had problems with copying not keeping the pressure, but now that it does, I always have to worry about things breaking when I paste near them.

    Edited once by 12Me21. Last: 28th Oct 2017
  • jacob1
    28th Oct 2017 Developer 0 Permalink
    Hold shift when saving to not save pressure
    Hold shift when loading to not load pressure

    Works with stamps / ctrl+c, can't remember if it works with full saves or local saves
  • Potbelly
    28th Oct 2017 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacob1
    28th Oct 2017 Developer 0 Permalink
    @Potbelly (View Post)
    Sure, you can edit the key shortcuts section of the wiki, it is publicly editable
  • 12Me21
    28th Oct 2017 Member 0 Permalink

    Could there be an option to disable pressure by default, so you don't need to hold shift every time?
    (Or is it possible to do this with a Lua script?)

  • jacob1
    28th Oct 2017 Developer 0 Permalink
    That sounds like a good idea, perhaps it could be a powder.pref setting.

    I've added a few settings that can't be set in any other way, because eventually i'll redo the settings UI.

    I opened an issue to remind myself about it here: https://github.com/ThePowderToy/The-Powder-Toy/issues/524

    It would be possible to do with a lua script. saveStamp and loadStamp both have an argument includePressure, which changes the option. You would have to make a lua script which overrides the default stamp saving and then calls this function with includePressure set to false. Similar to a script @LBPHacker already has.