https://bugs.kde.org/show_bug.cgi?id=383909

Boudewijn Rempt <b...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/47a5716210f2f3 |krita/commit/b915ac470f148a
                   |0c3ae4c9ff22e590d1a25b877a  |3f4787b1689865a0c4d434ca72

--- Comment #4 from Boudewijn Rempt <b...@valdyas.org> ---
Git commit b915ac470f148a3f4787b1689865a0c4d434ca72 by Boudewijn Rempt, on
behalf of Agata Cacko.
Committed on 15/08/2019 at 07:46.
Pushed by rempt into branch 'krita/4.2'.

Fix curve change despite 'Use same curve' checked

Before this commit, if you have a preset like Fill_circle
that has "Use the same curve" checkbox checked and you were
clicking on other sensors, the curve would be back to the default
curve (the one that other sensors had) if you switch back and forth
between some sensors (like Pressure -> X-Tilt-> Pressure).

Also before this commit if you have the default uprising curve
and you switched Rotation -> Tilt elevation, the curve would change.

This commit fixes both behaviours (first by adding transferCurve(),
second by switching the line in kis_curve_widget).

This commit also includes two slot functions instead of one function
that were used as a slot for two different signals. It helps with
debugging signals and keeping stuff clear and ordered.

There is one problem left: if you switch Tilt elevation -> Distance
(using the 'hill' curve), the preset is set to modified even though
the curve doesn't change.
BACKPORT:krita/4.2

M  +1    -1    libs/ui/widgets/kis_curve_widget.cpp
M  +18   -2    plugins/paintops/libpaintop/kis_curve_option_widget.cpp
M  +3    -0    plugins/paintops/libpaintop/kis_curve_option_widget.h

https://invent.kde.org/kde/krita/commit/b915ac470f148a3f4787b1689865a0c4d434ca72

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to