Make sure that span arpeggios aren't attached to System in Y_AXIS.
--- /dev/null
+\header {
+ texidoc = "Span arpeggios within one staff also work"
+ }
+
+\version "2.11.21"
+\layout { ragged-right = ##t }
+
+\new PianoStaff <<
+ \set PianoStaff.connectArpeggios = ##t
+ \new Staff \relative c'' {
+ <<
+ {
+ c2\arpeggio
+ }
+ \\
+ {
+ g2\arpeggio a
+ }
+ >>
+ }
+>>
arpeggios_[j]->set_property ("transparent", SCM_BOOL_T);
}
+
+ span_arpeggio_->set_parent (arpeggios_[0]->get_parent (Y_AXIS), Y_AXIS);
span_arpeggio_ = 0;
}
arpeggios_.clear ();