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

Unified Diff: lily/system.cc

Issue 7185044: Caches the interior skylines of vertical axis groups and systems. Base URL: http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Patch Set: Gives Hairpin outside-staff-interface Created 11 years, 11 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/system.cc
diff --git a/lily/system.cc b/lily/system.cc
index b2e0d53a880405a5037811a2f057a25e1bad2749..e1ed7a558eee960f94c467ece7b6ab36e3f46259 100644
--- a/lily/system.cc
+++ b/lily/system.cc
@@ -420,6 +420,7 @@ System::vertical_skyline_elements (SCM smob)
Grob *align = unsmob_grob (me->get_object ("vertical-alignment"));
if (!align)
{
+ Axis_group_interface::sort_outside_staff_elements (me, vertical_skyline_grobs);
SCM grobs_scm = Grob_array::make_array ();
unsmob_grob_array (grobs_scm)->set_array (vertical_skyline_grobs);
return grobs_scm;
@@ -431,6 +432,7 @@ System::vertical_skyline_elements (SCM smob)
if (Hara_kiri_group_spanner::has_interface (elts[i]))
vertical_skyline_grobs.push_back (elts[i]);
+ Axis_group_interface::sort_outside_staff_elements (me, vertical_skyline_grobs);
SCM grobs_scm = Grob_array::make_array ();
unsmob_grob_array (grobs_scm)->set_array (vertical_skyline_grobs);
return grobs_scm;

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