Skip to content

Commit 9a85bd8

Browse files
authored
Update gegleffectspending.c
1 parent ef3a1ce commit 9a85bd8

1 file changed

Lines changed: 16 additions & 21 deletions

File tree

compile_gegl_effects_here/gegleffectspending.c

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -150,28 +150,24 @@ property_double(layeropacity, _("Opacity of Image File Overlay"), 1.0)
150150
ui_meta ("visible", "guichange {imagegradient}")
151151

152152

153-
property_color (optioncolor, _("Color Overlay (only works on white text)"), "#ffffff")
153+
property_color (optioncolor, _("Optional Color Overlay"), "#ffffff")
154154
ui_meta ("visible", "guichange {strokeshadow}")
155155

156156

157-
property_boolean (effectsswitchbevel, _("Enable Bevel (requires new gegl:bevelbump)"), FALSE)
158-
description (_("Please update to the latest version of GEGL Bevel to use this feature"))
159-
ui_meta ("visible", "guichange {innerglowbevel}")
160-
161157

162-
property_int (depth, _("Bevel Depth"), 30)
158+
property_int (depth, _("Bevel Depth --ENABLE BEVEL"), 1)
163159
description (_("Filter width"))
164160
value_range (1, 100)
165161
ui_meta ("visible", "guichange {innerglowbevel}")
166162

167-
property_double (bevel1, _("Rotate Bevel Lighting"), 60.0)
163+
property_double (bevel1, _("Rotate Bevel Lighting (90 resets)"), 90.0)
168164
description (_("Elevation angle (degrees)"))
169165
value_range (55, 125)
170166
ui_meta ("unit", "degree")
171167
ui_meta ("visible", "guichange {innerglowbevel}")
172168

173169

174-
property_double (radius1, _("Radius of Bevel"), 2.0)
170+
property_double (radius1, _("Radius of Bevel"), 7.0)
175171
value_range (1.0, 12.0)
176172
ui_range (1.0, 12)
177173
ui_gamma (1.5)
@@ -203,19 +199,19 @@ property_enum (blendmodebevel2, _("Blend Mode of Bevel's emboss'"),
203199

204200

205201

206-
property_int (osdepth, _("Bevel Outline Depth"), 12)
202+
property_int (osdepth, _("Bevel Outline Depth"), 1)
207203
description (_("Filter width"))
208204
value_range (1, 70)
209205
ui_meta ("visible", "guichange {outlinespecial}")
210206

211-
property_double (osbevel, _("Rotate Bevel Lighting (90 resets)"), 80.0)
207+
property_double (osbevel, _("Rotate Bevel Lighting (90 resets)"), 90.0)
212208
description (_("Elevation angle (degrees)"))
213209
value_range (55, 125)
214210
ui_meta ("unit", "degree")
215211
ui_meta ("visible", "guichange {outlinespecial}")
216212

217213

218-
property_double (osradius, _("Radius of Bevel"), 3.0)
214+
property_double (osradius, _("Radius of Bevel"), 7.0)
219215
value_range (1.0, 12.0)
220216
ui_range (1.0, 12)
221217
ui_gamma (1.5)
@@ -607,7 +603,7 @@ update_graph (GeglOperation *operation)
607603
if (o->gradient)
608604
{
609605
/* both innerglow and gradient */
610-
gegl_node_link_many (state->input, state->nopimage, state->atopi, state->nopm, state->multiply, state->nopg, atopg, state->crop, state->nopb, multiplyb, state->nopig, over, state->stroke, state->ds, state->output, NULL);
606+
gegl_node_link_many (state->input, state->nopimage, state->atopi, state->nopg, atopg, state->crop, state->nopm, state->multiply, state->nopb, multiplyb, state->nopig, over, state->stroke, state->ds, state->output, NULL);
611607
gegl_node_link_many (state->nopimage, state->image, state->saturation, NULL);
612608
gegl_node_link_many (state->nopig, state->innerglow, NULL);
613609
gegl_node_link_many (state->nopb, state->mbd, NULL);
@@ -621,7 +617,7 @@ update_graph (GeglOperation *operation)
621617
else
622618
{
623619
/* innerglow but no gradient */
624-
gegl_node_link_many (state->input, state->nopimage, state->atopi, state->nopm, state->multiply, state->crop, state->nopb, multiplyb, state->nopig, over, state->stroke, state->ds, state->output, NULL);
620+
gegl_node_link_many (state->input, state->nopimage, state->atopi, state->crop, state->nopm, state->multiply, state->nopb, multiplyb, state->nopig, over, state->stroke, state->ds, state->output, NULL);
625621
gegl_node_link_many (state->nopimage, state->image, state->saturation, NULL);
626622
gegl_node_link_many (state->nopig, state->innerglow, NULL);
627623
gegl_node_link_many (state->nopb, state->mbd, NULL);
@@ -637,7 +633,7 @@ update_graph (GeglOperation *operation)
637633
if (o->gradient)
638634
{
639635
/* gradient but no innerglow */
640-
gegl_node_link_many (state->input, state->nopimage, state->atopi, state->nopm, state->multiply, state->nopg, atopg, state->crop, state->nopb, multiplyb, state->stroke, state->ds, state->output, NULL);
636+
gegl_node_link_many (state->input, state->nopimage, state->atopi, state->nopg, atopg, state->crop, state->nopm, state->multiply, state->nopb, multiplyb, state->stroke, state->ds, state->output, NULL);
641637
gegl_node_link_many (state->nopimage, state->image, state->saturation, NULL);
642638
gegl_node_link_many (state->nopb, state->mbd, NULL);
643639
gegl_node_link_many (state->nopm, state->mcol, NULL);
@@ -649,7 +645,7 @@ update_graph (GeglOperation *operation)
649645
else
650646
{
651647
/* neither gradient nor innerglow */
652-
gegl_node_link_many (state->input, state->nopimage, state->atopi, state->nopm, state->multiply, state->crop, state->nopb, multiplyb, state->stroke, state->ds, state->output, NULL);
648+
gegl_node_link_many (state->input, state->nopimage, state->atopi, state->crop, state->nopm, state->multiply, state->nopb, multiplyb, state->stroke, state->ds, state->output, NULL);
653649
gegl_node_link_many (state->nopimage, state->image, state->saturation, NULL);
654650
gegl_node_link_many (state->nopb, state->mbd, NULL);
655651
gegl_node_link_many (state->nopm, state->mcol, NULL);
@@ -719,7 +715,7 @@ static void attach (GeglOperation *operation)
719715

720716

721717
mbd = gegl_node_new_child (gegl,
722-
"operation", "gegl:bevelbump",
718+
"operation", "gegl:bevel",
723719
NULL);
724720

725721

@@ -909,9 +905,9 @@ lchcolorig = gegl_node_new_child (gegl,
909905
gegl_operation_meta_redirect (operation, "radiusstroke", stroke, "blurstroke");
910906
gegl_operation_meta_redirect (operation, "grow_radiusstroke", stroke, "stroke");
911907
gegl_operation_meta_redirect (operation, "colorstroke", stroke, "color");
912-
gegl_operation_meta_redirect (operation, "depth", mbd, "depth");
913-
gegl_operation_meta_redirect (operation, "radius1", mbd, "radius");
914-
gegl_operation_meta_redirect (operation, "bevel1", mbd, "elevation");
908+
gegl_operation_meta_redirect (operation, "depth", mbd, "bevel2");
909+
gegl_operation_meta_redirect (operation, "radius1", mbd, "radius1");
910+
gegl_operation_meta_redirect (operation, "bevel1", mbd, "bevel1");
915911
gegl_operation_meta_redirect (operation, "optioncolor", mcol, "value");
916912
gegl_operation_meta_redirect (operation, "src", image, "src");
917913
gegl_operation_meta_redirect (operation, "innerggrow_radius", innerglow, "grow-radius");
@@ -936,7 +932,6 @@ lchcolorig = gegl_node_new_child (gegl,
936932
gegl_operation_meta_redirect (operation, "oslightness", stroke, "lightness");
937933
gegl_operation_meta_redirect (operation, "enableoutline", stroke, "enableoutline");
938934
gegl_operation_meta_redirect (operation, "blendmodebeveloutline", stroke, "blendmodebeveloutline");
939-
gegl_operation_meta_redirect (operation, "effectsswitchbevel", mbd, "effectsswitchbevel");
940935

941936
/* Now save points to the various gegl nodes so we can rewire them in
942937
* update_graph() later
@@ -1016,7 +1011,7 @@ gegl_op_class_init (GeglOpClass *klass)
10161011
"title", _("GEGL Effects Continual Version"),
10171012
"categories", "Generic",
10181013
"reference-hash", "continual45ed565h8500fca01b2ac",
1019-
"description", _("GEGL text styling and speciality image outlining filter. (April 3 2023 stable build) "
1014+
"description", _("GEGL text styling and speciality image outlining filter. Text recoloring only works if the color is white (march 31 2023 stable build) "
10201015
""),
10211016
NULL);
10221017
}

0 commit comments

Comments
 (0)