From e61382a129c80f3bfa3058decf9a48aa6aa23afa Mon Sep 17 00:00:00 2001 From: Godzil Date: Thu, 27 Feb 2020 17:22:47 +0000 Subject: [PATCH] Doh, this was suppose to be the other way around: add to the bound IF it have finit bounds! --- source/shapes/group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shapes/group.cpp b/source/shapes/group.cpp index 7d634f2..ffa4b8a 100644 --- a/source/shapes/group.cpp +++ b/source/shapes/group.cpp @@ -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;