Skip to content

Commit 1d135d3

Browse files
authored
Update inner-glow.c
simplified inner glow's gegl graph. changes are virtually unnoticable.
1 parent 3cf6e38 commit 1d135d3

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

compile_innerglow_here/inner-glow.c

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,25 @@ property_enum (grow_shape, _("Grow shape"),
4848

4949
property_double (x, _("X"), 0.0)
5050
description (_("Horizontal shadow offset"))
51-
ui_range (-15.0, 15.0)
52-
value_range (-15.0, 15.0)
51+
ui_range (-20.0, 20.0)
52+
value_range (-20.0, 20.0)
5353
ui_steps (1, 2)
5454
ui_meta ("unit", "pixel-distance")
5555
ui_meta ("axis", "x")
5656

5757
property_double (y, _("Y"), 0.0)
5858
description (_("Vertical shadow offset"))
59-
ui_range (-15.0, 15.0)
60-
value_range (-15.0, 15.0)
59+
ui_range (-20.0, 20.0)
60+
value_range (-20.0, 20.0)
6161
ui_steps (1, 2)
6262
ui_meta ("unit", "pixel-distance")
6363
ui_meta ("axis", "y")
6464

6565

6666

6767
property_double (radius, _("Blur radius"), 9)
68-
value_range (0.0, 40.0)
69-
ui_range (0.0, 30.0)
68+
value_range (0.0, 60.0)
69+
ui_range (0.0, 40.0)
7070
ui_steps (1, 5)
7171
ui_gamma (1.5)
7272
ui_meta ("unit", "pixel-distance")
@@ -206,9 +206,8 @@ gegl_operation_meta_redirect (operation, "string", it, "string");
206206

207207

208208

209-
gegl_node_link_many (input, nop2, it, nop, shadow, color, atop, eblack, in, median2, color2, output, NULL);
210-
gegl_node_connect_from (atop, "aux", nop, "output");
211-
gegl_node_connect_from (in, "aux", nop2, "output");
209+
gegl_node_link_many (input, it, shadow, color, atop, in, median2, color2, output, NULL);
210+
gegl_node_connect_from (in, "aux", input, "output");
212211

213212

214213
}

0 commit comments

Comments
 (0)