plug-ins: run gimp_displays_flush() in foggify.

Without this call, the display is not properly updated and does not show
the newly added fog layer.
This commit is contained in:
Jehan 2020-10-18 00:41:22 +02:00
parent 326b2feddb
commit 02cb754b4a
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ def foggify(procedure, run_mode, image, drawable, args, data):
# apply the clouds to the layer
fog.remove_mask(Gimp.MaskApplyMode.APPLY)
fog.set_visible(True)
Gimp.displays_flush()
image.undo_group_end()
Gimp.context_pop()