Doh, this was suppose to be the other way around: add to the bound IF it have finit bounds!

This commit is contained in:
Godzil
2020-02-27 17:22:47 +00:00
parent a6f0422bd1
commit e61382a129

View File

@@ -130,7 +130,7 @@ void Group::updateBoundingBox()
int i;
for(i = 0; i < this->objectCount; i++)
{
if (!this->objectList[i]->haveFiniteBounds())
if (this->objectList[i]->haveFiniteBounds())
{
BoundingBox objB = this->objectList[i]->getBounds();
this->bounds | objB;