summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--lily/completion-note-heads-engraver.cc6
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 2eeb86c313..2e41649fd2 100644
--- 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
diff --git a/lily/completion-note-heads-engraver.cc b/lily/completion-note-heads-engraver.cc
index fb67686f96..9a72b6d5ed 100644
--- a/lily/completion-note-heads-engraver.cc
+++ b/lily/completion-note-heads-engraver.cc
@@ -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);