iterators

Boudewijn Rempt boud at valdyas.org
Sat Jan 22 14:28:56 CET 2005


On Saturday 22 January 2005 02:37, Sven Langkamp wrote:
> On Thursday 20 January 2005 23:57, Casper Boemann wrote:
> > Success - but not committed yet
> >
> > I have now created new merged iterators and changed all usage of the old
> > and basic iterators to the new merged ones. (most usage was in filters -
> > someone please check that they work)
>
> The convolution filters crash in
> KisConvolutionPainter::applyConvolutionColorTransformation
>
> #7  0x41b9c330 in KisPixelRO::operator[] (this=0xbfffdf58, index=0)
>     at kis_pixel.h:86
> #8  0x41b957b1 in
> KisConvolutionPainter::applyConvolutionColorTransformation (
> this=0xbfffe030, matrix=0x8858298, src={ptr = 0x8364c38})
>     at kis_convolution_painter.cc:119
> #9  0x42675e70 in KisConvolutionFilter::process (this=0x8857ed8, src=
>       {ptr = 0x8364c38}, dst=) at kis_convolution_filter.cc:42
>
> And I have no idea where the KisPixelRO comes from as that should normally
> be a KisPixel.

Lots of filters use the oldValue method (which returns a KisPixelRO), and this 
method isn't yet implemented. I''m trying to hack around it, but it's kind of 
hard. I'm also not making any progress with extending the iterators with 
a selection variable.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050122/91a29acc/attachment.pgp


More information about the kimageshop mailing list