]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/slur.cc
release: 1.3.101
[lilypond.git] / lily / slur.cc
index 4c44b3c1b79eff47b8014657314b383ccaa720ed..b7b0c687695c594ba27a696fbb9dd4d5e77459b1 100644 (file)
@@ -21,7 +21,6 @@
 #include "group-interface.hh"
 #include "slur.hh"
 #include "lookup.hh"
-#include "font-metric.hh"
 #include "paper-def.hh"
 #include "note-column.hh"
 #include "stem.hh"
@@ -404,7 +403,7 @@ Slur::encompass_offset (Score_element*me,
    leave a gap: slur mustn't touch head/stem
    */
   o[Y_AXIS] += dir * gh_scm2double (me->get_elt_property ("y-free")) *
-    me->paper_l ()->get_var ("staffspace");
+    1.0;
   return o;
 }
 
@@ -491,7 +490,7 @@ Slur::set_spacing_rods (SCM smob)
   r.item_l_drul_[RIGHT] = sp->get_bound (RIGHT);
   r.distance_f_ =
     gh_scm2double (me->get_elt_property ("minimum-length"))
-    * me->paper_l ()->get_var ("staffspace");
+    * 1.0;
 
   r.add_to_cols ();
   return SCM_UNSPECIFIED;