Allow Clone Brush to reset origin after every stroke
ClosedPublic

Authored by tymond on Apr 18 2019, 8:56 AM.

Details

Summary

This commit introduces the behaviour of Clone Brush
that allows for always starting a new stroke
as if the offset wasn't set yet, which means it always
starts from the same source/origin point.
Usecases: painting multiple leaves, flowers, crosses etc.
in less regular way than what could be created with regular
Clone Brush.

BUG:402559

Test Plan
  • save and load brush with and without the new option enabled
  • use the same brush with and without the new option enabled
  • use both versions without setting the origin
  • switch between enabled and disabled option after setting the origin
  • check whether the tooltip works

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tymond created this revision.Apr 18 2019, 8:56 AM
Restricted Application added a reviewer: Krita. · View Herald TranscriptApr 18 2019, 8:56 AM
Restricted Application added a project: Krita. · View Herald Transcript
tymond requested review of this revision.Apr 18 2019, 8:56 AM
tymond updated this revision to Diff 56502.Apr 18 2019, 9:08 AM

Removed last line of debug

dkazakov accepted this revision.Apr 18 2019, 3:30 PM
dkazakov added a subscriber: dkazakov.

The patch works perfectly fine! Please push! :)

This revision is now accepted and ready to land.Apr 18 2019, 3:30 PM
This revision was automatically updated to reflect the committed changes.