move an assert to cover only cases where it is needed

This commit is contained in:
Paul Davis 2014-03-07 11:23:22 -05:00
parent 0ef3fedf9a
commit e5802bdbea

View File

@ -404,9 +404,9 @@ Item::bounding_box () const
{
if (_bounding_box_dirty) {
compute_bounding_box ();
assert (!_bounding_box_dirty);
}
assert (!_bounding_box_dirty);
return _bounding_box;
}