#1116 Flipped stems display incorrectly in 1.6.1

closed
Chris Cannam
notation (282)
9
2012-09-16
2008-01-08
No

Segment on track 4, bar 10, the last two 8th notes should have stems up. Look in the advanced event editor, and the bool is true, but they insist on displaying stems down.

Discussion

  •  
    Attachments
  • Chris Cannam
    Chris Cannam
    2008-01-15

    Logged In: YES
    user_id=13489
    Originator: NO

    Investigating. This is a subtle one!

     
  • Chris Cannam
    Chris Cannam
    2008-01-15

    Logged In: YES
    user_id=13489
    Originator: NO

    Fixed in SVN (rev 8560). The basic grouping code was failing to record the existence of an initial note in a group if the group was constructed using a non-note as the base iterator, and that was the case here because the rest preceding the group was marked as being beamed as well. So the stem direction method did nothing as it thought the group contained no notes. This may have been a cause of some other subtle misbehaviour too.

    Relatedly, we shouldn't be marking rests as beamed in the first place -- but it shouldn't be breaking things if we do.