2005-04-20 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/dynamic-engraver.cc (process_music): set right bound to
+ script if present. Else, do not set.
+ (acknowledge_grob): only set right bound of finished spanner to
+ note column if no other bound is set.
+
* python/lilylib.py (make_ps_images): switch back to png16m.
2005-04-19 Jan Nieuwenhuizen <janneke@gnu.org>
{
assert (!finished_cresc_ && cresc_);
- cresc_->set_bound (RIGHT, script_
- ? script_
- : unsmob_grob (get_property ("currentMusicalColumn")));
- add_bound_item (line_spanner_, cresc_->get_bound (RIGHT));
-
+ if (script_)
+ {
+ cresc_->set_bound (RIGHT, script_);
+ add_bound_item (line_spanner_, script_);
+ }
+
finished_cresc_ = cresc_;
cresc_ = 0;
current_cresc_ev_ = 0;
cresc_->set_bound (LEFT, info.grob_);
add_bound_item (line_spanner_, cresc_->get_bound (LEFT));
}
- cresc_->set_bound (RIGHT, info.grob_);
}
- if (finished_cresc_)
+ if (finished_cresc_ && !finished_cresc_->get_bound (RIGHT))
{
finished_cresc_->set_bound (RIGHT, info.grob_);
}