Author: post
Date: 2010-08-08 17:07:46 +0200 (Sun, 08 Aug 2010)
New Revision: 3489

Modified:
   trunk/librawstudio/rs-curve.c
Log:
Make curve point selection snap much more to points, this makes curves editing 
much more fluent.

Modified: trunk/librawstudio/rs-curve.c
===================================================================
--- trunk/librawstudio/rs-curve.c       2010-08-08 15:05:55 UTC (rev 3488)
+++ trunk/librawstudio/rs-curve.c       2010-08-08 15:07:46 UTC (rev 3489)
@@ -1026,7 +1026,7 @@
                curve->active_knot = -1;
                for(i=0;i<n;i++)
                {
-                       if (fabsf(event->x-knots[i*2+0]) < 4.0)
+                       if (fabsf(event->x-knots[i*2+0]) < 16.0)
                        {
                                curve->active_knot = i;
                                break;


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to