Commit fe5ee0f7 authored by Ell's avatar Ell

app: clear priority rect when finishing projection rendering

In gimp_projection_finish_draw(), clear the chunk iterator's
priority rect before finishing rendering, since it's not needed at
this point, and this is slightly more efficient.

(cherry picked from commit 9833da34)
parent 293ae15b
......@@ -565,6 +565,8 @@ gimp_projection_finish_draw (GimpProjection *proj)
if (proj->priv->iter)
{
gimp_chunk_iterator_set_priority_rect (proj->priv->iter, NULL);
gimp_tile_handler_validate_begin_validate (proj->priv->validate_handler);
while (gimp_projection_chunk_render_iteration (proj));
......
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