Re: [Gimp-developer] Bug in Sobel edge detect?

2001-03-11 Thread egger
On 11 Mar, Austin Donnelly wrote: > Here's a patch that fixes this, relative to the sobel.c that's in > 1.2.1. Can someone stick this in stable CVS and also merge it with > the current development head. Thanks! Good spotting. Applied to HEAD and GIMP1.2 branch -- Servus, Daniel

Re: [Gimp-developer] Bug in Sobel edge detect?

2001-03-11 Thread Austin Donnelly
On Saturday, 10 Mar 2001, Lourens Veen wrote: > When running the Sobel edge detect on an image without a selection, the > topmost scanline of the output is random garbage. From a very quick > glance at the source it seems that the previous row array isn't > initialised Thanks for the good bug re

[Gimp-developer] Bug in Sobel edge detect?

2001-03-10 Thread Lourens Veen
When running the Sobel edge detect on an image without a selection, the topmost scanline of the output is random garbage. From a very quick glance at the source it seems that the previous row array isn't initialised, so the first row is compared to an array filled with random bytes, causing random