Преглед на файлове

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;