@@ -69,15 +69,15 @@ property_double (y, _("Y"), 0.0)
6969
7070
7171
72- property_double (radius , _ ("Blur radius" ), 10.7 )
72+ property_double (radius , _ ("Blur radius" ), 2.5 )
7373 value_range (0.0 , 40.0 )
7474 ui_range (0.0 , 30.0 )
7575 ui_steps (1 , 5 )
7676 ui_gamma (1.5 )
7777 ui_meta ("unit" , "pixel-distance" )
7878
7979
80- property_double (grow_radius , _ ("Grow radius" ), 8 .0 )
80+ property_double (grow_radius , _ ("Grow radius" ), 4 .0 )
8181 value_range (2 , 30.0 )
8282 ui_range (2 , 30.0 )
8383 ui_digits (0 )
@@ -86,7 +86,7 @@ property_double (grow_radius, _("Grow radius"), 8.0)
8686 ui_meta ("unit" , "pixel-distance" )
8787 description (_ ("The distance to expand the shadow before blurring; a negative value will contract the shadow instead" ))
8888
89- property_double (opacity , _ ("Opacity" ), 1.4 )
89+ property_double (opacity , _ ("Opacity" ), 1.2 )
9090 value_range (0.0 , 2.0 )
9191 ui_steps (0.01 , 0.10 )
9292
@@ -126,7 +126,7 @@ property_double (fixoutline, _("Median to fix non-effected pixels on edges"), 6
126126static void attach (GeglOperation * operation )
127127{
128128 GeglNode * gegl = operation -> node ;
129- GeglNode * input , * it , * shadow , * c2a , * white , * color , * nop , * color2 , * eblack , * atop , * median , * median2 , * in , * nop2 , * output ;
129+ GeglNode * input , * it , * shadow , * c2a , * white , * color , * nop , * color2 , * eblack , * atop , * median2 , * in , * nop2 , * output ;
130130
131131 input = gegl_node_get_input_proxy (gegl , "input" );
132132 output = gegl_node_get_output_proxy (gegl , "output" );
@@ -173,10 +173,6 @@ static void attach (GeglOperation *operation)
173173 eblack = gegl_node_new_child (gegl , "operation" , "gegl:color-to-alpha" , "transparency-threshold" , 0.050 , NULL );
174174
175175
176- median = gegl_node_new_child (gegl ,
177- "operation" , "gegl:median-blur" ,
178- NULL );
179-
180176 median2 = gegl_node_new_child (gegl ,
181177 "operation" , "gegl:median-blur" ,
182178 NULL );
@@ -201,9 +197,7 @@ gegl_operation_meta_redirect (operation, "y", shadow, "y");
201197
202198gegl_operation_meta_redirect (operation , "notouch" , color , "value" );
203199
204- gegl_operation_meta_redirect (operation , "mradius" , median , "radius" );
205-
206- gegl_operation_meta_redirect (operation , "fixoutline" , median , "alpha-percentile" );
200+ gegl_operation_meta_redirect (operation , "mradius" , median2 , "radius" );
207201
208202gegl_operation_meta_redirect (operation , "fixoutline" , median2 , "alpha-percentile" );
209203
@@ -223,7 +217,7 @@ gegl_operation_meta_redirect (operation, "string", it, "string");
223217
224218
225219
226- gegl_node_link_many (input , nop2 , it , nop , shadow , color , atop , eblack , median , in , median2 , color2 , output , NULL );
220+ gegl_node_link_many (input , nop2 , it , nop , shadow , color , atop , eblack , in , median2 , color2 , output , NULL );
227221 gegl_node_connect_from (atop , "aux" , nop , "output" );
228222 gegl_node_connect_from (in , "aux" , nop2 , "output" );
229223
0 commit comments