move an assert to cover only cases where it is needed
This commit is contained in:
parent
0ef3fedf9a
commit
e5802bdbea
@ -404,9 +404,9 @@ Item::bounding_box () const
|
|||||||
{
|
{
|
||||||
if (_bounding_box_dirty) {
|
if (_bounding_box_dirty) {
|
||||||
compute_bounding_box ();
|
compute_bounding_box ();
|
||||||
|
assert (!_bounding_box_dirty);
|
||||||
}
|
}
|
||||||
|
|
||||||
assert (!_bounding_box_dirty);
|
|
||||||
return _bounding_box;
|
return _bounding_box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user