]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 22 May 2006 23:13:17 +0000 (23:13 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 22 May 2006 23:13:17 +0000 (23:13 +0000)
ChangeLog
Documentation/topdocs/NEWS.tely
lily/beaming-pattern.cc

index dde1af11e9dcab4b0a6e92065a30be650b9ee3b2..183f5347206ebc00eb815f78fcc9ac0738c0428c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-23  Han-Wen Nienhuys  <hanwen@lilypond.org>
+
+       * lily/beaming-pattern.cc (beamify): deal with negative start
+       moments for beaming patterns.
+
 2006-05-22  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
        * lily/beaming-info.cc (beamify): new function: read beatLength
index e7868f427e08f0b909d11a9f06afc6f7adbf64dd..da63646e8738ef1209fee82293561e9c483d25f0 100644 (file)
@@ -151,7 +151,7 @@ support for feathered beaming,
   c16[
     c c c
     c c c c ]
-    }
+}
 @end lilypond 
 
 This feature was sponsored by Jamie Bullock.
index c6fba3a5a5b0589183bc3fdda33420ab7b0ab8bd..f48faadc5666e8bf0c365839a26d7cedae71ce92 100644 (file)
@@ -79,6 +79,11 @@ Beaming_pattern::beamify (Context *context)
   
   bool subdivide_beams = to_boolean (context->get_property ("subdivideBeams"));
   Moment beat_length = robust_scm2moment (context->get_property ("beatLength"), Moment (1, 4));
+  Moment measure_length = robust_scm2moment (context->get_property ("beatLength"), Moment (1, 4));
+
+  if (infos_[0].start_moment_ < Moment (0))
+    for (vsize i = 0; i < infos_.size(); i++)
+      infos_[i].start_moment_ += measure_length;
   
   SCM grouping = context->get_property ("beatGrouping");
   Moment measure_pos (0);