GLAS breaking on save load

  • phox
    9th Jul 2019 Member 0 Permalink

    is there any way to prevent glass from breaking whenever you load a save with glass in it? it gets irritating that even slightly complex saves that include glass have the glass break on save load

  • LBPHacker
    9th Jul 2019 Developer 2 Permalink

    Already fixed for the next version. The bug only manifests if GLAS particles (and particles of a few other types of elements) are in non-zero pressure when saved, so the only solution is to save without pressure. I forgot how to do that, hold on, I'll look into the code.

     

    EDIT: Okay, turns out the solution I was trying to remember only works when you stamp and copy. I'll make it work for full saves for the next version. In the meantime, I guess you'll have to pause the simulation and press '=' to completely reset pressure, and only save after that. :(

    Edited 5 times by LBPHacker. Last: 9th Jul 2019
  • phox
    9th Jul 2019 Member 0 Permalink

    ah okay, that helps a ton, thought there was no way around it. thanks!

  • LBPHacker
    9th Jul 2019 Developer 0 Permalink

    You're welcome! As a side note, I ironed out the handling of pressure inclusion in the UI so now it's just a checkbox in the settings dialog starting next version.

    Edited once by LBPHacker. Last: 9th Jul 2019