Commit 2256ab22 authored by Ell's avatar Ell

app: in the gradient tool, halt gradient editor before committing filter

In the gradient tool, halt the gradient editor before committing
the filter, so that its image-flush idle source is removed before
applying the operation, to avoid flushing the image, and hence
restarting its projection rendering, during application.
parent f4750a0a
......@@ -725,6 +725,12 @@ gimp_gradient_tool_commit (GimpGradientTool *gradient_tool)
if (gradient_tool->filter)
{
/* halt the editor before committing the filter so that the image-flush
* idle source is removed, to avoid flushing the image, and hence
* restarting the projection rendering, while applying the filter.
*/
gimp_gradient_tool_editor_halt (gradient_tool);
gimp_tool_control_push_preserve (tool->control, TRUE);
gimp_drawable_filter_commit (gradient_tool->filter,
......
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