Version: 2.4-snapshots (using KDE 4.5.5)
The following was noted in Krita Alpha-2 (downloaded and compiled Jun 26, 2011).
When I edit the Size or Opacity Pressure curve in Pixel or Smudge Brush, save a preset and load it back, then the curve is reset to default. And these curves have no effect even before save / load.
This occurs only when modifying a curve in the preset, which have not curve previously edited (i.e., have a default straight line). If the preset (from Krita Alpha-1) have previously edited curve, I can edit it, save, load and the curve is not disappears.
Also, when I turn on some other tablet modifier in Size property settings (Fuzzy for example), the Pressure curve begin to work, and can be saved/loaded.
Steps to Reproduce:
In Pixel brush engine settings window, add some points to Size Pressure curve, save a preset and load it.
The curve reset to default straight line
Curves must normally save and load
OS: Linux (x86_64) release 2.6.35-30-generic (Ubuntu 10.10)
Thanks for the report!
On Sabayon Linux (Gentoo-based), the bug is still present.
Git commit a3f047dfe13da2d33a2dc2b7ddfb59479a441395 by Sven Langkamp.
Committed on 08/07/2011 at 23:29.
Pushed by langkamp into branch 'master'.
fix loading of curve when old and new data is in the file
M +7 -5 krita/plugins/paintops/libpaintop/kis_curve_option.cpp
Thanks for a good job!