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.
This commit is contained in:
Ell 2019-01-13 08:20:40 -05:00
parent 33c22ae2a3
commit 9833da3431

View file

@ -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));