OK, I'll open it for scripting.SFR wrote:From what I see, options in 'Image->Preferences' are inaccessible through CLI:
However:
is a perfectly legitimate solution.echo 'undoMBlimit=128' >> ~/.mtpaint
And anyway, the idea was that user's own copy of mtPaint is already configured to his satisfaction.
Thanks for noticing this mistake. Now, among matches from the beginning, the shortest will be preferred, instead of the first. Patch is attached.2. I can't save an image as JPEG (if source image was of a different type), because for some reason JPEG2000 takes precedence over it:
Done in the same patch (exit code 1 if error in scripting mode).Btw, any chance for exit code other than 0 in case if an error occured?