i != stem_segments.end (); i++)
{
vector<Beam_stem_segment> segs = (*i).second;
- vector_sort (segs, less<Beam_stem_segment> ());
+ vector_sort (segs, default_compare);
Beam_segment current;
for (vsize i = 0; i < stems.size (); i++)
{
Grob *s = stems[i];
+ if (Stem::is_invisible (s))
+ continue;
bool french = to_boolean (s->get_property ("french-beaming"));
Real stem_y = calc_stem_y (me, s, common,
Make the stems go up to the end of the beam. This doesn't matter
for normal beams, but for tremolo beams it looks silly otherwise.
*/
- if (gap
- && !Stem::is_invisible (s))
+ if (gap)
stem_y += thick * 0.5 * get_grob_direction (s);
- /*
- Do set_stemend for invisible stems too, so tuplet brackets
- have a reference point for sloping
- */
Stem::set_stemend (s, 2 * stem_y / staff_space);
}
rest -> stem -> beam -> interpolate_y_position ()
*/
-MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Beam, rest_collision_callback, 2, 1);
+MAKE_SCHEME_CALLBACK (Beam, rest_collision_callback, 2);
SCM
Beam::rest_collision_callback (SCM smob, SCM prev_offset)
{