From 9bc9b6fa13f9ab0c2bf1cdface47aed0dcc123d1 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 26 Nov 2008 19:22:53 +0000 Subject: [PATCH] Use <= when comparing distances to give priority to the uppermost duck in the event of a draw. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2289 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/duckmatic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp index 0032e4f..0d88982 100644 --- a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp +++ b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp @@ -894,7 +894,7 @@ Duckmatic::find_duck(synfig::Point point, synfig::Real radius, Duck::Type type) else if(duck->get_type()&Duck::TYPE_RADIUS) dist*=0.9999; - if(dist