app: flush the buffer in gimp_gegl_buffer_get_tiles()

so the tiles are up-to-date.
This commit is contained in:
Michael Natterer 2012-03-21 14:26:03 +01:00
parent b89a912cc7
commit 91ec2feb49

View file

@ -246,6 +246,8 @@ gimp_gegl_buffer_get_tiles (GeglBuffer *buffer)
g_return_val_if_fail (GIMP_IS_TILE_BACKEND_TILE_MANAGER (backend), NULL);
gegl_buffer_flush (buffer);
return gimp_tile_backend_tile_manager_get_tiles (backend);
}