Browse Source

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

Godzil 4 years ago
parent
commit
e61382a129
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/shapes/group.cpp

+ 1 - 1
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;