Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b3946e6e authored by Lukáš Tvrdý's avatar Lukáš Tvrdý

Fixing Dynamic Brush.It paints again! The same bug as with chalk and its...

Fixing Dynamic Brush.It paints again! The same bug as with chalk and its cycling. Be careful about always setting x and y Spacing.

svn path=/trunk/koffice/; revision=925227
parent c2aedbcf
......@@ -37,12 +37,11 @@ public:
void paintAt(const KisPaintInformation& info);
double spacing(double & xSpacing, double & ySpacing, double pressure1, double pressure2) const {
Q_UNUSED(xSpacing);
Q_UNUSED(ySpacing);
Q_UNUSED(pressure1);
Q_UNUSED(pressure2);
// XXX: this is wrong!
return 0.5;
xSpacing = 1;
ySpacing = 1;
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment