]> git.donarmstrong.com Git - lilypond.git/commitdiff
(process_music): don't
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 5 Oct 2006 12:31:07 +0000 (12:31 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 5 Oct 2006 12:31:07 +0000 (12:31 +0000)
skimp on memory usage.

ChangeLog
lily/completion-note-heads-engraver.cc

index 2eeb86c31328534fe28ca25fe74dd94f456293ef..2e41649fd295bc25163027e0fb94e40997e96af4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-10-05  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
+       * lily/completion-note-heads-engraver.cc (process_music): don't
+       skimp on memory usage.
+
        * lily/beam.cc (set_stem_lengths): do set_stemend for invisible
        stems too. Fixes #5
 
index fb67686f96b945c37e062867507ff6a08c0581f9..9a72b6d5ed077495addb33a1fa82ea63b4c91676 100644 (file)
@@ -216,11 +216,7 @@ Completion_heads_engraver::process_music ()
          Item *d = make_item ("Dots", SCM_EOL);
          Rhythmic_head::set_dots (note, d);
 
-         /*
-           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_property ("dot-count", scm_from_int (dots));
 
          d->set_parent (note, Y_AXIS);
          dots_.push_back (d);