]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4844: Move epsilon in Lookup::round_filled_polygon (issue 680 oversight)
authorDavid Kastrup <dak@gnu.org>
Wed, 4 May 2016 14:03:41 +0000 (16:03 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 10 May 2016 18:55:04 +0000 (20:55 +0200)
lily/lookup.cc

index b6d13fc3568646eebcc70abe8f080dca2c7f54ad..3e592516c588bc765cdfe451931bd56da2122e8b 100644 (file)
@@ -246,9 +246,9 @@ Lookup::round_filled_polygon (vector<Offset> const &points,
      applies to the given polygon.  However, this is quite complicated
      to check. */
 
+#ifdef DEBUG
   const Real epsilon = 0.01;
 
-#ifdef DEBUG
   /* remove consecutive duplicate points */
   for (vsize i = 0; i < points.size (); i++)
     {