gimp r25564 - in trunk: . app/display app/tools



Author: neo
Date: Mon May  5 06:21:22 2008
New Revision: 25564
URL: http://svn.gnome.org/viewvc/gimp?rev=25564&view=rev

Log:
2008-05-05  Sven Neumann  <sven gimp org>

	* app/tools/gimppainttool.c
	* app/display/gimpdisplayshell-coords.c: applied patch from 
Alexia
	Death which changes the maximum smoothing for paint tools to 
more
	conservative default and adds velocity dependent smooth 
suppression.



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-coords.c
   trunk/app/tools/gimppainttool.c

Modified: trunk/app/display/gimpdisplayshell-coords.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-coords.c	(original)
+++ trunk/app/display/gimpdisplayshell-coords.c	Mon May  5 06:21:22 2008
@@ -268,6 +268,8 @@
           /* Speed needs upper limit */
           coords->velocity = MIN (coords->velocity, 1.0);
         }
+      /* High speed -> less smooth*/
+      inertia_factor *= (1 - coords->velocity);
 
       if (inertia_factor > 0 && coords->distance > 0)
         {

Modified: trunk/app/tools/gimppainttool.c
==============================================================================
--- trunk/app/tools/gimppainttool.c	(original)
+++ trunk/app/tools/gimppainttool.c	Mon May  5 06:21:22 2008
@@ -134,7 +134,7 @@
   paint_tool->status_ctrl = _("%s to pick a color");
 
   /*  Paint tools benefit most from strong smoothing on coordinates  */
-  tool->max_coord_smooth  = 0.98;
+  tool->max_coord_smooth  = 0.80;
 
   paint_tool->core        = NULL;
 }



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