- /*
- If all durations are the same, we'll check if there are more
- rests than maximum-rest-count.
- Otherwise (different durations), we'll try to display them all
- (urg: all 3 of them, currently).
- */
- int display_count;
- SCM s = get_elt_property ("maximum-rest-count");
- if (i == rest_l_arr.size ()
- && gh_number_p (s) && gh_scm2int (s) < rest_l_arr.size ())
- {
- display_count = gh_scm2int (s);
- for (; i > display_count; i--)
- col2rhythmic_head (rest_l_arr[i-1])
- ->set_elt_property ("molecule-callback", SCM_BOOL_T);