Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2637)

Unified Diff: lily/multi-measure-rest-engraver.cc

Issue 4543055: Handles longa in MultiMeasureRest (Closed)
Patch Set: Created 12 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/multi-measure-rest.cc ('k') | scm/define-grob-properties.scm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/multi-measure-rest-engraver.cc
diff --git a/lily/multi-measure-rest-engraver.cc b/lily/multi-measure-rest-engraver.cc
index 3fbcdb612b86b8d14f01a90ea9b18507c42d1be0..a71d18eca146e3d7e5dae54211261dce2c241554 100644
--- a/lily/multi-measure-rest-engraver.cc
+++ b/lily/multi-measure-rest-engraver.cc
@@ -230,7 +230,10 @@ Multi_measure_rest_engraver::start_translation_timestep ()
SCM sml = get_property ("measureLength");
Rational ml = (unsmob_moment (sml)) ? unsmob_moment (sml)->main_part_ : Rational (1);
- if (ml >= Rational (2))
+
+ if (ml >= Rational (4))
+ last_rest_->set_property ("use-longa-rest", SCM_BOOL_T);
+ else if (ml >= Rational (2))
last_rest_->set_property ("use-breve-rest", SCM_BOOL_T);
mmrest_ = 0;
« no previous file with comments | « lily/multi-measure-rest.cc ('k') | scm/define-grob-properties.scm » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b