]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix 357
authorJoe Neeman <joeneeman@gmail.com>
Fri, 3 Aug 2007 23:12:31 +0000 (09:12 +1000)
committerJoe Neeman <joeneeman@gmail.com>
Fri, 3 Aug 2007 23:12:31 +0000 (09:12 +1000)
Give dashed slurs a non-empty extent.

lily/lookup.cc

index 61d66186595ffb69786be06672e014117fcf0dbc..fc6a2e896bca4afc494bd608076c6c05221078cc 100644 (file)
@@ -106,7 +106,7 @@ Lookup::dashed_slur (Bezier b, Real thick, Real dash_period, Real dash_fraction)
                        ly_quote_scm (l),
                        SCM_UNDEFINED));
 
-  Box box (Interval (0, 0), Interval (0, 0));
+  Box box (b.extent (X_AXIS), b.extent (Y_AXIS));
   return Stencil (box, at);
 }