/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
Modified 2001--2002 by Rune Zedeler <rz@daimi.au.dk>
LilyPond is free software: you can redistribute it and/or modify
void stop_translation_timestep ();
void process_acknowledged ();
-
+
virtual void finalize ();
virtual void derived_mark () const;
bool cautionary = to_boolean (note->get_property ("cautionary"));
if (caut.score () > acc.score ())
{
- acc.need_acc |= caut.need_acc;
- acc.need_restore |= caut.need_restore;
+ acc.need_acc |= caut.need_acc;
+ acc.need_restore |= caut.need_restore;
cautionary = true;
}
*/
if (!note->in_event_class ("trill-span-event"))
{
- if (acc.need_acc)
+ if (acc.need_acc)
create_accidental (&accidentals_[i], acc.need_restore, cautionary);
if (forced || cautionary)
Accidental_placement::add_accidental (accidental_placement_, a);
note_head->set_object ("accidental-grob", a->self_scm ());
-
+
return a;
}
}
for (vsize i = accidentals_.size (); i--;)
- {
+ {
Stream_event *note = accidentals_[i].melodic_;
Context *origin = accidentals_[i].origin_;
else
{
/*
- not really really correct if there is more than one
+ not really correct if there is more than one
note head with the same notename.
*/
localsig = ly_assoc_prepend_x (localsig, key,
accidental_placement_ = 0;
accidentals_.clear ();
+ note_columns_.clear ();
left_objects_.clear ();
right_objects_.clear ();
}