Problems previewing filter which relies on selection

Boudewijn Rempt boud at valdyas.org
Thu Feb 1 20:57:21 CET 2007


On Thursday 01 February 2007, Schleimer, Ben wrote:
> Hi,
>   I'm using the selection mask to determine where the
> filter will operate. The filter "fills in the holes of
> the image" and the user uses the selection to mark the
> holes. I'm trying to get the filter to work with the
> preview box (because there are some settings I want
> the user to be able to set) but since the selection
> mask isn't passed from the original to the preview
> device (kis_previewwidget.cc line 203), the plugin
> fails because it needs the selection mask in order to
> operate.
> I'm tempted to modify kis_paint_device.cc, line
> 303-304 to copy the selection mask but I'm not sure if
> that's the right thing to do. Any ideas?

I'd say, give it a try, and see how it pans out. It sounds sensible.


-- 
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/20070201/0ed6893c/attachment.pgp 


More information about the kimageshop mailing list