[gimp] app: do not invalidate always the whole layer



commit 5b7953a4236ba0323f083d6381a3b09e03465500
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Sat Aug 10 16:40:24 2013 +0200

    app: do not invalidate always the whole layer

 app/core/gimpprojection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpprojection.c b/app/core/gimpprojection.c
index e226445..8304bf5 100644
--- a/app/core/gimpprojection.c
+++ b/app/core/gimpprojection.c
@@ -697,7 +697,7 @@ gimp_projection_paint_area (GimpProjection *proj,
 
   if (proj->validate_handler)
     gimp_tile_handler_projection_invalidate (proj->validate_handler,
-                                             x, y, width, height);
+                                             x1, y1, x2 - x1, y2 - y1);
   if (now)
     {
       GeglNode *graph = gimp_projectable_get_graph (proj->projectable);


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