diff --git a/app/operations/gimpoperationblend.c b/app/operations/gimpoperationblend.c index f6be809ba4..e0b9517f42 100644 --- a/app/operations/gimpoperationblend.c +++ b/app/operations/gimpoperationblend.c @@ -1077,6 +1077,15 @@ gimp_operation_blend_process (GeglOperation *operation, gimp_gradient_segment_get_last ( rbd.gradient->segments), &rbd.rightmost_color); + + if (rbd.reverse) + { + GimpRGB temp; + + temp = rbd.leftmost_color; + rbd.leftmost_color = rbd.rightmost_color; + rbd.rightmost_color = temp; + } } /* Render the gradient! */