/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
bool
Item::is_non_musical (Grob *me)
{
- if (me->original ())
- return false;
-
Item *i = dynamic_cast<Item *> (me->get_parent (X_AXIS));
return i ? Item::is_non_musical (i) : to_boolean (me->get_property ("non-musical"));
}
void
Item::discretionary_processing ()
{
- if (is_broken ())
+ if (is_broken () || original ())
return;
if (Item::is_non_musical (this))