[gimp] app: update vectors from the freeze handler as well



commit 8cfb8c2143d00da5e2377c70d1c1dc85f0ef153d
Author: Sven Neumann <sven gimp org>
Date:   Fri Sep 17 21:28:30 2010 +0200

    app: update vectors from the freeze handler as well
    
    This is needed so that the area covered by the vectors before the
    change is exposed. Ideally of course the update signal should
    include the changed area.

 app/core/gimpimage.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index 8f914b2..4a4b5d8 100644
--- a/app/core/gimpimage.c
+++ b/app/core/gimpimage.c
@@ -1444,7 +1444,8 @@ static void
 gimp_image_vectors_freeze (GimpVectors *vectors,
                            GimpImage   *image)
 {
-  /* do nothing */
+  if (gimp_item_get_visible (GIMP_ITEM (vectors)))
+    gimp_image_update_vectors (image, vectors);
 }
 
 static void



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