Преглед изворни кода

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

Godzil пре 4 година
родитељ
комит
e61382a129
1 измењених фајлова са 1 додато и 1 уклоњено
  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;