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



commit 1e07f00a9526ff348799e54b877b0895cb4f73ac
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.

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


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