diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2006-10-05 12:31:07 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2006-10-05 12:31:07 +0000 |
commit | af090d90928ab525f0c4979b37305fb84361f38f (patch) | |
tree | a3a1d83e4f91fff7184a40069b637c5afd8737f8 | |
parent | 5c47a9ba90c4bee91077bd943e4ff79b2c93fe76 (diff) |
(process_music): don't
skimp on memory usage.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | lily/completion-note-heads-engraver.cc | 6 |
2 files changed, 4 insertions, 5 deletions
@@ -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); |