- if (!ambitus_p_) {
- // Create ambitus not before stopping timestep. centralCPosition
- // will then be the same as that for the first timestep.
- //
- // TODO: is this really a good idea? At least, creating the
- // ambitus in start_translation_timestep is a *bad* idea, since we
- // may then oversee a clef that is defined in a staff context if
- // we are in a voice context; centralCPosition would then be
- // assumed to be 0.
+ /*
+ * Ensure that ambitus is created in the very first timestep (on
+ * which lily does not call start_translation_timestep ()).
+ * Otherwise, if a voice begins with a rest, the ambitus grob will
+ * be placed after the rest.
+ */
+ if (!ambitus_) {