- if (rest_req_l_ && !rest_p_)
- {
- rest_p_ = new Item (get_property ("Rest"));
- Rhythmic_head::set_interface (rest_p_);
- Staff_symbol_referencer::set_interface (rest_p_);
-
- int durlog = unsmob_duration (rest_req_l_->get_mus_property ("duration"))-> duration_log ();
-
- rest_p_->set_grob_property ("duration-log",
- gh_int2scm (durlog));
-
- int dots =unsmob_duration (rest_req_l_->get_mus_property ("duration"))->dot_count ();
-
- if (dots)
- {
- dot_p_ = new Item (get_property ("Dots"));
-
- Rhythmic_head::set_dots (rest_p_, dot_p_);
- dot_p_->set_parent (rest_p_, Y_AXIS);
- dot_p_->set_grob_property ("dot-count", gh_int2scm (dots));
- announce_grob (dot_p_,0);
- }
-
- announce_grob (rest_p_, rest_req_l_);
- }