]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add FretBoards context to performer-init.ly.
authorNeil Puttock <n.puttock@gmail.com>
Tue, 26 Jan 2010 00:29:45 +0000 (00:29 +0000)
committerNeil Puttock <n.puttock@gmail.com>
Tue, 26 Jan 2010 00:29:45 +0000 (00:29 +0000)
This silences the following warning in midi:

  warning: cannot find or create new `FretBoards'

ly/performer-init.ly

index d021a2cb38bb46c9f5d33abc622294a2e97396fb..4dcce2915b359bc84b43122ff9c23b75709c0395 100644 (file)
   \name FiguredBass
 }
 
+\context {
+  \type "Performer_group"
+  \name FretBoards
+}
+
 \context {
   \type "Performer_group"
   \name GrandStaff
   \accepts GrandStaff
   \accepts PianoStaff
   \accepts TabStaff
-  \accepts Staff
   \accepts StaffGroup
   \accepts Devnull
   \accepts ChoirStaff
   \accepts RhythmicStaff
   \accepts ChordNames
   \accepts FiguredBass
+  \accepts FretBoards
   \accepts Lyrics
   \accepts VaticanaStaff
 
   \accepts Lyrics
   \accepts ChordNames
   \accepts FiguredBass
+  \accepts FretBoards
   \defaultchild Staff
 }