Commit 06f41db6 authored by Ell's avatar Ell
Browse files

app: remove redundant opacity clamp from gimp_layer_new()

The opacity will be clamped by gimp_layer_set_opacity().
parent 776b4a9a
......@@ -67,8 +67,6 @@ gimp_layer_new (GimpImage *image,
0, 0, width, height,
format));
opacity = CLAMP (opacity, GIMP_OPACITY_TRANSPARENT, GIMP_OPACITY_OPAQUE);
gimp_layer_set_opacity (layer, opacity, FALSE);
gimp_layer_set_mode (layer, mode, FALSE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment