gimp r25564 - in trunk: . app/display app/tools
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25564 - in trunk: . app/display app/tools
- Date: Mon, 5 May 2008 07:21:22 +0100 (BST)
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]