Commit b07f8102 authored by Ell's avatar Ell

app: avoid flushing bufferless projections

Don't needlessly flush projections whose buffer hasn't been
allocated yet.  This can happen when opening an image, in which
case the image is flushed before its projection has a buffer.
parent 48335f61
......@@ -785,6 +785,9 @@ static void
gimp_projection_flush_whenever (GimpProjection *proj,
gboolean now)
if (! proj->priv->buffer)
if (proj->priv->update_region)
if (now) /* Synchronous */
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