Skip to content

Commit

Permalink
beautify: fix image merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
hejiann committed Aug 2, 2012
1 parent 8511340 commit 2bbc14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beautify.c
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 2bbc14a

Please sign in to comment.