[gegl] gegl:text Invalidated computed data (and caches) when text layout changes.



commit da0f398febd485160fc627717ab1f7a1ea6d789c
Author: �yvind Kolås <pippin gimp org>
Date:   Sun Dec 6 16:47:10 2009 +0000

    gegl:text Invalidated computed data (and caches) when text layout changes.

 operations/external/text.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/external/text.c b/operations/external/text.c
index 17dfcf9..5489589 100644
--- a/operations/external/text.c
+++ b/operations/external/text.c
@@ -246,6 +246,8 @@ get_bounding_box (GeglOperation *operation)
       /* store the measured size for later use */
       o->width = width;
       o->height = height;
+
+      gegl_operation_invalidate (operation, NULL, TRUE);
     }
 
   if (status)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]