]> git.donarmstrong.com Git - lilypond.git/commitdiff
ly/property-init.ly: remove cautionary accidentals in improvisation
authorXavier Scheuer <x.scheuer@gmail.com>
Wed, 9 Mar 2011 14:41:08 +0000 (15:41 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Wed, 9 Mar 2011 17:38:48 +0000 (17:38 +0000)
improvisationOn  removes the stencil of  Accidental  but did not remove
the stencil of  AccidentalCautionary .
This PATCH fix this (as well as the appropriate reciprocal in
 improvisationOff ).

ly/property-init.ly

index 3bed8193a37f6d968010c49637deb6aa62775bbf..2e293352db97fa919700a03805a25d576b6fd440 100644 (file)
@@ -252,11 +252,13 @@ improvisationOn = {
   \set squashedPosition = #0
   \override NoteHead #'style = #'slash
   \override Accidental #'stencil = ##f
+  \override AccidentalCautionary #'stencil = ##f
 }
 improvisationOff = {
   \unset squashedPosition
   \revert NoteHead #'style
   \revert Accidental #'stencil
+  \revert AccidentalCautionary #'stencil
 }