[gimp/gimp-2-10] Issue #3067 - "Make New from Visible" produces wrong results



commit 7a6926a50b3dc76485521abda37b3c5bdcda9a26
Author: Michael Natterer <mitch gimp org>
Date:   Mon May 27 15:20:15 2019 +0200

    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.
    
    (cherry picked from commit 1e07f00a9526ff348799e54b877b0895cb4f73ac)
    
    (Picking this is not strictly needed, but did it anyway because it
    doesn't hurt and this commit is hard to miss if we finally merge space
    invasion to stable).

 app/core/gimpimage.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index bfa4c29931..4d45e6a4c5 100644
--- a/app/core/gimpimage.c
+++ b/app/core/gimpimage.c
@@ -1403,6 +1403,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);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]