From: johncoswell Date: Sat, 21 Apr 2007 11:16:34 +0000 (+0000) Subject: Final fix for gradient fill algorithm X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a9e35adba45cfdd14baa6a650b0c9b76b74f3806;p=inkscape.git Final fix for gradient fill algorithm --- diff --git a/src/flood-context.cpp b/src/flood-context.cpp index a25ab2196..332819957 100644 --- a/src/flood-context.cpp +++ b/src/flood-context.cpp @@ -668,7 +668,7 @@ static void sp_flood_do_flood_fill(SPEventContext *event_context, GdkEvent *even merge_pixel_with_background(orig_color, dtc, merged_orig); unsigned char *trace_t = get_pixel(trace_px, (int)color_point[NR::X], (int)color_point[NR::Y], width); - if (trace_t[0] != 255) { + if ((trace_t[0] != 255) && (trace_t[3] != 255)) { fill_queue.push_front(color_point); }