Defaultpixel problem on projection

Sven Langkamp sven.langkamp at
Mon Jul 16 20:55:01 CEST 2007

On 7/16/07, Casper Boemann <cbr at> wrote:
> On Monday 16 July 2007 20:40, Sven Langkamp wrote:
> > Hi,
> >
> > I stumbled over a problem with the use of defaultpixel in the
> > selection projection:
> >
> > If I create a pixelselection, select a small area and then invert it,
> > Krita will flip the defaultpixel of that selection. When the selection
> > is rendered to the selection projection, the defaultpixel of the
> > selection and the projection are different.
> >
> > At the moment the only solution I see is to write all pixels to the
> > projection, which would be really bad as that would increase the size
> > of the selection.
> >
> > Maybe someone has an idea how this could be done better.
> we certainly don't want to write all pixels
> why don't you simply copy the defaultPixel to the projection's defaultPixel?
That would work for the selections as they are now with only one pixel
selection, but it would break if there are more selections (as

Do we have a method that does a 1:1 copy of the datamanager form one
mask to another?

More information about the kimageshop mailing list