CVSROOT:        /cvs/gnome
Module name:    gimp
Changes by:     mitch   05/09/07 06:08:02

Modified files:
        .              : ChangeLog 
        app/core       : gimpchannel-combine.c 

Log message:
2005-09-07  Michael Natterer  <[EMAIL PROTECTED]>

* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
use gimp_rectangle_intersect() instead of just looking at the
passed in w,h to figure whether nothing needs to be done. While
the algorithm does nicely with an entirely out-of-image ellipse,
the channel's bounds were set to a rectangle of zero width or
height, which caused subsequent calls to gimp_channel_bounds() to
return broken bounds. Fixes bug #315417 
[http://bugzilla.gnome.org/show_bug.cgi?id=315417].

(gimp_channel_combine_rect)
(gimp_channel_combine_mask): use gimp_rectangle_intersect() here
too instead of the usual unclear CLAMPing on x1,y1,x2,y2.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2005-09-07%2006:07&maxdate=2005-09-07%2006:09

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to