[gimp/soc-2010-cage] gimpcage: add a missing update of the scaling factor



commit 13cd355aedb2858ccb0f82a071f946f35bfdbe4b
Author: Michael Muré <batolettre gmail com>
Date:   Wed Jul 21 22:15:02 2010 +0200

    gimpcage: add a missing update of the scaling factor

 app/core/gimpcage.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpcage.c b/app/core/gimpcage.c
index a9dace6..6e82610 100644
--- a/app/core/gimpcage.c
+++ b/app/core/gimpcage.c
@@ -228,6 +228,8 @@ gimp_cage_add_cage_point  (GimpCage    *gc,
   gc->cage_vertices_d[gc->cage_vertice_number].y = y;
   
   gc->cage_vertice_number++;
+  
+  gimp_cage_compute_scaling_factor (gc);
 }
 
 void



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