mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
move an assert to cover only cases where it is needed
This commit is contained in:
parent
0ef3fedf9a
commit
e5802bdbea
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue