소스 검색

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;