Access to the "undo"-system via the applications preferences AND scripting
I wrote a plugin that mimics the layer composition system of Photoshop. It works fine, but has a issue that shouldn’t be one: In a big scene with 544 layers the script handles all of them one by one, so it creates tons of undo steps flooding my memory. After three and more runs Substance Painter is super slow (and I have a very strong computer!).
I can’t believe that neither can I limit the undo steps like in every other application I know for decades within the preferences, I also have no Python API access to it to handle it while the script is running (like disabling undo and re-enabling it later, etc).
