mirror of https://github.com/GNOME/gimp.git
app: in GimpProjection, avoid invalidating preview on flush while rendering
In GimpProjection, avoid erroneously invalidating the projectable's preview when flushing the projection and there's nothing to be flushed, if the chunk renderer is still running, and hence the projection is not fully rendered yet.
This commit is contained in:
parent
564afeda8b
commit
49bbf13911
|
@ -676,7 +676,7 @@ gimp_projection_flush_whenever (GimpProjection *proj,
|
|||
gimp_projection_chunk_render_start (proj);
|
||||
}
|
||||
}
|
||||
else if (! now && proj->priv->invalidate_preview)
|
||||
else if (! now && ! proj->priv->iter && proj->priv->invalidate_preview)
|
||||
{
|
||||
/* invalidate the preview here since it is constructed from
|
||||
* the projection
|
||||
|
|
Loading…
Reference in New Issue