gegl r3028 - in trunk: . gegl/buffer
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r3028 - in trunk: . gegl/buffer
- Date: Sat, 11 Apr 2009 12:57:46 +0000 (UTC)
Author: martinn
Date: Sat Apr 11 12:57:46 2009
New Revision: 3028
URL: http://svn.gnome.org/viewvc/gegl?rev=3028&view=rev
Log:
gegl: Handle infinite planes in gegl_rectangle_expand()
Modified:
trunk/ChangeLog
trunk/gegl/buffer/gegl-cache.c
Modified: trunk/gegl/buffer/gegl-cache.c
==============================================================================
--- trunk/gegl/buffer/gegl-cache.c (original)
+++ trunk/gegl/buffer/gegl-cache.c Sat Apr 11 12:57:46 2009
@@ -96,6 +96,9 @@
gint xdiff;
gint ydiff;
+ if (gegl_rectangle_is_infinite_plane (rectangle))
+ return *rectangle;
+
xdiff = expanded.x % align;
if (xdiff < 0)
xdiff = align + xdiff;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]