Bug 402559 - Clone brush origin reset
Summary: Clone brush origin reset
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Tiar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-25 17:27 UTC by Paul Kotelevets
Modified: 2019-04-18 15:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Source cloning reset in GIMP (726.46 KB, image/gif)
2018-12-25 17:27 UTC, Paul Kotelevets
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Kotelevets 2018-12-25 17:27:51 UTC
Created attachment 117104 [details]
Source cloning reset in GIMP

SUMMARY
Request to add ability to reset location of source of clone brush  after every stroke, keeping following source to brush in the moment of stroke.
Comment 1 Tiar 2019-04-18 15:37:15 UTC
Git commit 8049758796253d8f80e0d974a383609709d0db54 by Agata Cacko.
Committed on 18/04/2019 at 15:37.
Pushed by tymond into branch 'master'.

Allow Clone Brush to reset origin after every stroke

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.

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

Reviewers: #krita, dkazakov

Reviewed By: #krita, dkazakov

Subscribers: dkazakov

Tags: #krita

Differential Revision: https://phabricator.kde.org/D20653

M  +5    -0    libs/image/brushengine/kis_paintop_settings.cpp
M  +10   -3    libs/image/brushengine/kis_paintop_settings.h
M  +4    -0    libs/ui/tool/kis_tool_freehand.cc
M  +13   -0    plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_option.cpp
M  +7    -0    plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_option.h
M  +18   -3    plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_settings.cpp
M  +15   -2    plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_settings.h
M  +13   -0    plugins/paintops/defaultpaintops/duplicate/wdgduplicateop.ui

https://commits.kde.org/krita/8049758796253d8f80e0d974a383609709d0db54