]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4914/1: Move Output_property_engraver to Score level
authorDavid Kastrup <dak@gnu.org>
Sat, 2 Jul 2016 23:37:15 +0000 (01:37 +0200)
committerDavid Kastrup <dak@gnu.org>
Sun, 10 Jul 2016 17:47:01 +0000 (19:47 +0200)
commit1d1976cb7da1d4625357e59a34837b1d46cac70c
tree6a5acad02b510e643c13d67d45b21cb4886d502c
parent90fce106774e91373aba8308f39da486064f4cef
Issue 4914/1: Move Output_property_engraver to Score level

This has the advantage of needing only one instantiation of the engraver
and not having \applyOutput mysteriously refrain from having an effect
in contexts without Output_property_engraver .

Due to the hierarchical nature of acknowledgers, acknowledgers in lower
contexts will now get to see the grobs before applyOutput has done its
work.  However, grobs are still unfinished (except for type, properties
initialized via context properties and cause) at the time they are
announced, with other details only getting filled in by the engraver
after announcement, so the potential for trouble seems low.
Acknowledgers should usually just register a grob (or write grob data)
with any actual reading of grob data occurring at the end of the
timestep instead or in the process-acknowledged phase.
lily/output-property-engraver.cc