You are here

Undo after run plug-in

Hello!
I'm interesting in undo of plugin changes. I add before:

gimp_context_push(); gimp_image_undo_group_start(image);

and after changes:

gimp_image_undo_group_end(image); gimp_context_pop();

Undo-action is created, press Ctrl+Z, but image not come back.
I try use only "gimp_image_undo_group*" function is not worked too. Next download GIMP 2.6.11 source, browse file blur-selective.c and blur-gauss.c and not found above functions. And after run these filters undo is working.
How correctly change image, that may be undo it? "Changes" is calls "gimp_pixel_rgn_set_row".

Subscribe to Comments for "Undo after run plug-in"