Oh yeah, I misinterpreted the error message. "bad allocation" means that the program tries to request more RAM than the OS can allocate. It could be a memory leak, but you could also just be running a lot of other RAM-heavy applications at the time. Manually increasing the undo history limit would cause the game to consume a lot more RAM and could also lead to an error like this. I've checked memory consumption on my mod during normal use myself and didn't notice any leaks. So yeah, unless you can reproduce it reliably, it's probably not a bug.
I've recently notice that the "TAB" hotkey isn't working to cycle the brush shapes, is this known or no? Sorry, I'm dumb, I have to use shift tab.
Why does pressing 'C' again, no longer switch out of the config tool, back to the element you were previously using? I thought it was a nifty feature. It certainly made it easier to switch from configuring something to placing things. Since it automatically selected elements that I had been working with before, I could save my self from a bit of mouse manuevering, and ultimately save some time.
There was a bug and I thought it wasn't useful (I usually place all my particles before configuring them). But knowing that it's useful to you is good; I changed it back. Thanks for the feedback!
By the way, you can reach me better on #powder-subframe. You can even access it from Discord now! Check the first post for an invite.
Anyway, a new version is out! This contains many improvements to the stack edit tool and some inspirations from Maticzpl's Lua port ( https://tpt.io/:25877 ). Please let me know if you encounter bugs or have feedback about what other changes might be useful.
Keybinding change: Stack edit is now X/Shift-X instead of E/Shift-E. You can also use PageUp/PageDown, as well as Home/End to jump to the top or bottom of a stack respectively.
v1.12:
Small bugfix update, along with better paste/stamp previews thanks to mad-cow.
v1.13:
Thanks to mecha-man for many of the below suggestions, and Maticzpl's port (check it out here!) for the idea to put the HUD particle descriptions below the zoom window.
(EDIT: Pushed v1.14.1, small patch to tweak the HUD a little and support stack pasting. Yes, now you can actually use stack mode to make "layered materials"!)
v1.14:
Updated to merge the new 97.0 changes, along with a small stack edit UI/perf improvement. The merge was only lightly tested; please let me know if you encounter any bugs.
v1.15:
You're still here???? You are the reason why I got into tech but I thought you were gone
Merged 98.0 changes. This is just a maintenance release with no new features. It is only very lightly tested, so there will likely be bugs. Please let me know if you find any issues, ideally through IRC/Discord as I don't check this thread regularly.
v1.16: