+2003-02-24 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * input/regression/percent-repeat-skipbars.ly: new file.
+
+ * lily/percent-repeat-engraver.cc (try_music): also insert correct
+ process moments for % repeats. Fixes problem when skipBars is set.
+
2003-02-10 Mats Bengtsson <mats.bengtsson@s3.kth.se>
* mf/*, buildscipts/* : Backport 1.7 changes. Fixes problems with
repeat_ = rp;
- Global_translator *global =0;
- Translator *t = this;
- do
- {
- t = t->daddy_trans_ ;
- global = dynamic_cast<Global_translator*> (t);
- }
- while (!global);
-
+ Global_translator *global =top_engraver();
for (int i = 0; i < count; i++)
- global->add_moment_to_process (now + Moment (1+i) * body_length_);
-
+ global->add_moment_to_process (next_moment_
+ + Moment (i) * body_length_);
+
return true;
}
forbid breaks on a % line. Should forbid all breaks, really.
*/
- top_engraver()->forbid_breaks (); // guh. Use properties!
+ top_engraver()->forbid_breaks (); // guh. Use properties!
}
next_moment_ = next_moment_ + body_length_;
}