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

Unified Diff: lily/beam.cc

Issue 4961041: Sketch for broken beams with consistent slopes (Closed)
Patch Set: Gets x_span_ right. Created 12 years, 5 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
Index: lily/beam.cc
diff --git a/lily/beam.cc b/lily/beam.cc
index 030aa5d531e1f897a88a35c5c45817e269b05971..67b1019376100cca3dd68586eda4979fe31024e9 100644
--- a/lily/beam.cc
+++ b/lily/beam.cc
@@ -918,13 +918,12 @@ Beam::calc_stem_shorten (SCM smob)
return scm_from_double (0.0);
}
-MAKE_SCHEME_CALLBACK (Beam, quanting, 2);
+MAKE_SCHEME_CALLBACK (Beam, quanting, 1);
SCM
-Beam::quanting (SCM smob, SCM posns)
+Beam::quanting (SCM smob)
{
Grob *me = unsmob_grob (smob);
Drul_array<Real> ys (0, 0);
- ys = robust_scm2drul (posns, ys);
Beam_scoring_problem problem (me, ys);
ys = problem.solve ();
@@ -1423,6 +1422,7 @@ ADD_INTERFACE (Beam,
"break-overshoot "
"clip-edges "
"concaveness "
+ "consistent-broken-slope "
"collision-interfaces "
"collision-voice-only "
"covered-grobs "
@@ -1441,5 +1441,6 @@ ADD_INTERFACE (Beam,
"positions "
"quantized-positions "
"shorten "
+ "skip-quanting "
"stems "
);

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