2.3 patch: setting the pressure size option for smudge
Boudewijn Rempt
boud at valdyas.org
Sat Dec 11 12:22:51 CET 2010
I want to commit this patch to 2.3: it set the pressure size option to off by default for smudge, which solves the added-black bug when smudging with the tablet. I did not remove the entire option, since users might still want to use it.
Index: kis_smudgeop_settings_widget.cpp
===================================================================
--- kis_smudgeop_settings_widget.cpp (revision 1205503)
+++ kis_smudgeop_settings_widget.cpp (working copy)
@@ -36,7 +36,9 @@
{
setObjectName("brush option widget");
- addPaintOpOption(new KisCurveOptionWidget(new KisPressureSizeOption()));
+ KisPressureSizeOption *sizeOption = new KisPressureSizeOption();
+ sizeOption->setChecked(false);
+ addPaintOpOption(new KisCurveOptionWidget(sizeOption));
addPaintOpOption(new KisCurveOptionWidget(new KisPressureOpacityOption()));
addPaintOpOption(new KisCurveOptionWidget(new KisPressureDarkenOption));
addPaintOpOption(new KisPressureRateOptionWidget());
boud at valdis:~/kde/src/svn/branches/2.3/koffice/krita/plugi
--
Boudewijn Rempt | http://www.valdyas.org, http://www.krita.org
More information about the kimageshop
mailing list