if (b[X_AXIS][LEFT] - 2*horizon_padding < last_affected_position[dir])
continue;
- if (b[X_AXIS].is_empty () || b[Y_AXIS].is_empty ())
- warning (_f ("outside-staff object %s has an empty extent", elements[i]->name ().c_str ()));
- else
+ if (!b[X_AXIS].is_empty () && !b[Y_AXIS].is_empty ())
{
boxes.clear ();
boxes.push_back (b);
static Grob *
line_spanner_common_parent (Grob *me)
{
- Grob *common = find_fixed_alignment_parent (me);
+ /* FIXME: what is the right thing to do here, now that PianoStaves don't
+ have fixed spacing? */
+ Grob *common = 0; //find_fixed_alignment_parent (me);
if (!common)
{
common = Staff_symbol_referencer::get_staff_symbol (me);
{
command_column_->set_property ("page-break-permission", SCM_EOL);
command_column_->set_property ("line-break-permission", SCM_EOL);
- if (break_events_.size ())
- warning (_f ("break event at moment %d/%d was overridden by some other event, are you using bar checks?",
- now_mom ().num (), now_mom ().den ()));
+ for (vsize i = 0; i < break_events_.size (); i++)
+ {
+ SCM perm = break_events_[i]->get_property ("permission");
+ if (perm == ly_symbol2scm ("force") || perm == ly_symbol2scm ("allow"))
+ warning (_f ("forced break was overridden by some other event, should you be using bar checks?"));
+ }
}
else if (Paper_column::is_breakable (command_column_))
{