Commit fee159e6 authored by Ell's avatar Ell

Issue #4793 - Layer-group preview-update blocks UI when adding/removing layers

In gimp_drawable_get_sub_preview_async(), use
gimp_idle_run_async_full() to render the preview in a low-priority
idle source when the drawable uses a validate handler (i.e., when
it's a group layer), to avoid rendering the preview before the
projection is done rendering, causing a noticeable freeze.
parent 6733b153
Pipeline #160708 failed with stages
in 26 minutes and 42 seconds