#include "duration.hh"
#include "global-context.hh"
#include "item.hh"
+#include "music.hh"
#include "output-def.hh"
#include "pitch.hh"
#include "rhythmic-head.hh"
Item *d = make_item ("Dots", SCM_EOL);
Rhythmic_head::set_dots (note, d);
- d->set_property ("dot-count", scm_from_int (dots));
+ /*
+ measly attempt to save an eeny-weenie bit of memory.
+ */
+ if (dots != scm_to_int (d->get_property ("dot-count")))
+ d->set_property ("dot-count", scm_from_int (dots));
d->set_parent (note, Y_AXIS);
dots_.push_back (d);
/* doc */ "This engraver replaces "
"@code{Note_heads_engraver}. It plays some trickery to "
"break long notes and automatically tie them into the next measure.",
- /* create */
- "NoteHead "
- "Dots "
- "Tie",
-
+ /* create */ "NoteHead Dots Tie",
/* accept */ "note-event",
- /* read */
- "middleCPosition "
- "measurePosition "
- "measureLength",
-
+ /* read */ "middleCPosition measurePosition measureLength",
/* write */ "");