]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bow.cc
patch::: 1.1.22.jcn1: slur fixjes
[lilypond.git] / lily / bow.cc
index 935eae60b3930c28a8c0020c54b9211d61c1bd79..bd4827ba9169a7c5a617be83d16e446047b688a8 100644 (file)
@@ -22,6 +22,9 @@ Bow::Bow ()
   dy_f_drul_[LEFT] = dy_f_drul_[RIGHT] = 0.0;
   dx_f_drul_[LEFT] = dx_f_drul_[RIGHT] = 0.0;
   dash_i_ = 0;
+  interstaff_f_ = 0;
+  vertical_align_drul_[MIN] = 0;
+  vertical_align_drul_[MAX] = -1;
 }
 
 Molecule*
@@ -54,6 +57,7 @@ Bow::do_brew_molecule_p () const
 
   Molecule* mol_p = new Molecule;
   mol_p->add_atom (a);
+  mol_p->translate_axis (-interstaff_f_, Y_AXIS);
 
   return mol_p;
 }
@@ -84,6 +88,7 @@ Bow::do_height () const
       Real y = c[i][Y_AXIS];
       iv.unite (Interval (y,y));
     }
+  iv -= interstaff_f_;
   return iv;
 }