[gegl/abyss] node: make the cache buffer track both extent and abyss
- From: Ville Sokk <villesokk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/abyss] node: make the cache buffer track both extent and abyss
- Date: Tue, 17 Jul 2012 08:03:50 +0000 (UTC)
commit d11481b922f590740c45ec52d48ad5476113785a
Author: Ville Sokk <ville sokk gmail com>
Date: Tue Jul 17 11:03:04 2012 +0300
node: make the cache buffer track both extent and abyss
gegl/graph/gegl-node.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index 6e85058..909f782 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -1765,7 +1765,7 @@ gegl_node_get_bounding_box (GeglNode *root)
g_free (id);
if (root->cache)
- gegl_buffer_set_abyss (GEGL_BUFFER (root->cache), &root->have_rect);
+ gegl_buffer_set_extent (GEGL_BUFFER (root->cache), &root->have_rect);
root->valid_have_rect = TRUE;
return root->have_rect;
@@ -2061,8 +2061,8 @@ gegl_node_get_cache (GeglNode *node)
"format", format,
NULL);
- /* bounding box must be called at least once to compute an
- initial have_rect for the abyss */
+ /* gegl_node_get_bounding_box must be called at least once to compute
+ an initial have_rect for the extent of the cache */
gegl_node_get_bounding_box (node);
g_signal_connect (G_OBJECT (node->cache), "computed",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]