]> 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>
Sat, 4 Aug 2007 00:02:05 +0000 (10:02 +1000)
Give dashed slurs a non-empty extent.

lily/lookup.cc

index d8c20c044fcd871b36f831b83adf022ed28c0c54..e05b87ffb798244ec2ebb8b8e0f3138e9373301a 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);
 }