Hi, On Mon, 2007-01-08 at 15:14 +1100, David Hodson wrote: > I'm having problems adding a preview (gimp_drawable_preview_new) to an > existing plugin. Some experimentation with the sample code shows that > using gimp_pixel_rgn_get_row() and gimp_pixel_rgn_set_row() to iterate > through the image region, the preview updates correctly, but replacing > them with gimp_pixel_rgns_register() and gimp_pixel_rgns_process() stops > the preview updating. Why is this, and how do I cause a preview update? Have you looked at the code of the many plug-ins that use a preview already? The idea of a preview is to preview the effect. So you aren't going to manipulate the pixel regions at all. Instead you draw on the preview. If you have specific question, it's probably best to make up a small test case and show us the code together with your question. Sven _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer