Trivial patch for the duplicate tool

Bart Coppens kde at bartcoppens.be
Fri Feb 9 17:38:43 CET 2007


In order to make it a lot more usable, attached patch. Can be applied to 1.6 
branch after the branching of 1.6.2 (adds a new 'feature'). I'm posting it 
here so that I don't lose it or forget it. This is the behaviour that the 
Gimp has, btw, and it makes a lot of sense.

What it does: the source layer for the duplicate tool is now the layer where 
you clicked for selecting the source, instead of the current layer. (Best 
would be even to an option to also have sample merged, but that changes GUI.)

Usecase: You can now duplicate parts of an image to a new layer. So that you 
can roughly copy a part, and then start working with layer masks on that 
layer, so you can be a bit 'messy' at the edges without ruining your image. 

Bart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: duplicate_source.diff
Type: text/x-diff
Size: 1638 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20070209/90f56ab9/attachment.bin 


More information about the kimageshop mailing list