Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

beautify: fix image merge.

  • Loading branch information...
commit 2bbc14a8701f96db9784a3ab4acf88590b111c0f 1 parent 8511340
@hejiann authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 beautify.c
View
4 beautify.c
@@ -352,7 +352,7 @@ beautify_effect (GimpDrawable *drawable)
gint32 layer = gimp_image_get_active_layer (image_ID);
gimp_layer_set_opacity (layer, bvals.opacity);
- gimp_image_merge_down (image_ID, layer, GIMP_EXPAND_AS_NECESSARY);
+ gimp_image_merge_down (image_ID, layer, GIMP_CLIP_TO_IMAGE);
}
static gboolean
@@ -1183,7 +1183,7 @@ apply_effect ()
}
gint32 current_layer = gimp_image_get_active_layer (preview_image);
- gimp_image_merge_down (preview_image, current_layer, GIMP_EXPAND_AS_NECESSARY);
+ gimp_image_merge_down (preview_image, current_layer, GIMP_CLIP_TO_IMAGE);
current_effect = BEAUTIFY_EFFECT_NONE;
Please sign in to comment.
Something went wrong with that request. Please try again.