Commit 0b4a743a authored by Sven Neumann's avatar Sven Neumann
Browse files

reset progress to 0.0 when finished


--Sven
parent 9e7a8e79
2000-05-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/sample_colorize.c: reset progress to 0.0 when
finished. Does this fix bug #11420 ?
2000-05-18 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/psp.c (read_block_header): Byteswap return
......
......@@ -3164,6 +3164,10 @@ p_colorize_drawable(gint32 drawable_id)
if(g_Sdebug) printf ("ROWS done, progress :%f\n", (float)l_progress);
}
/* reset the progress to zero to indiciate that the plug-in has done its job */
if (g_show_progress)
gimp_progress_update (0.0);
gimp_drawable_flush (drawable);
gimp_drawable_merge_shadow (drawable->id, TRUE);
gimp_drawable_update (drawable->id, l_x1, l_y1, l_x2 - l_x1, l_y2 - l_y1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment