Issue #3067 - "Make New from Visible" produces wrong results

Call gimp_projectable_structure_changed() when the image's profile
changes so the projection buffer gets reallocated.
This commit is contained in:
Michael Natterer 2019-05-27 15:20:15 +02:00
parent 765abcd316
commit 1e07f00a95
1 changed files with 1 additions and 0 deletions

View File

@ -1387,6 +1387,7 @@ gimp_image_color_managed_profile_changed (GimpColorManaged *managed)
GimpImage *image = GIMP_IMAGE (managed);
GimpItemStack *layers = GIMP_ITEM_STACK (gimp_image_get_layers (image));
gimp_projectable_structure_changed (GIMP_PROJECTABLE (image));
gimp_viewable_invalidate_preview (GIMP_VIEWABLE (image));
gimp_item_stack_profile_changed (layers);
}