Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Calligra
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Office
Calligra
Commits
cf134320
Commit
cf134320
authored
10 years ago
by
Dmitry Kazakov
Committed by
Halla Rempt
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix anisotropy in Color Smudge brush engine
The offset must be calculated correctly BUG:334538
parent
6d7a16d0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
krita/plugins/paintops/colorsmudge/kis_colorsmudgeop.cpp
+3
-1
3 additions, 1 deletion
krita/plugins/paintops/colorsmudge/kis_colorsmudgeop.cpp
with
3 additions
and
1 deletion
krita/plugins/paintops/colorsmudge/kis_colorsmudgeop.cpp
+
3
−
1
View file @
cf134320
...
...
@@ -157,7 +157,9 @@ KisSpacingInformation KisColorSmudgeOp::paintAt(const KisPaintInformation& info)
*/
updateMask
(
info
,
scale
,
rotation
,
scatteredPos
);
QRect
srcDabRect
=
m_dstDabRect
.
translated
((
m_lastPaintPos
-
scatteredPos
).
toPoint
());
QPointF
newCenterPos
=
QRectF
(
m_dstDabRect
).
center
();
QRect
srcDabRect
=
m_dstDabRect
.
translated
((
m_lastPaintPos
-
newCenterPos
).
toPoint
());
/**
* Save the center of the current dab to know where to read the
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment