elements. Fixes hara kiri'd instrument names.
+2006-03-02 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/system-start-text.cc (print): suicide if we don't have any
+ elements. Fixes hara kiri'd instrument names.
+
+ * scripts/mup2ly.py (Module): remove.
+
2006-03-01 Han-Wen Nienhuys <hanwen@xs4all.nl>
* Documentation/user/global.itely (A single music expression):
{
Spanner *me = unsmob_spanner (smob);
- extract_grob_set (me, "elements", elts);
+ extract_grob_set (me, "elements", all_elts);
+ vector<Grob*> elts;
+ for (vsize i = 0; i < all_elts.size (); i++)
+ if (all_elts[i]->is_live ())
+ elts.push_back (all_elts[i]);
+
+ if (!elts.size ())
+ {
+ me->suicide ();
+ return SCM_EOL;
+ }
+
Grob *common = common_refpoint_of_array (elts, me, Y_AXIS);
Interval ext;
datadir = os.path.abspath (bindir + '/../%s/lilypond/current/python/' % p)
sys.path.insert (0, datadir)
-################################################################
-
import midi
import lilylib as ly
%s
''' ( '2001--2006',
_('Distributed under terms of the GNU General Public License.'),
- _('It comes with NO WARRANTY.'))
+ _('It comes with NO WARRANTY.')))
def progress (s):