Doh, this was suppose to be the other way around: add to the bound IF it have finit bounds!
This commit is contained in:
@@ -130,7 +130,7 @@ void Group::updateBoundingBox()
|
|||||||
int i;
|
int i;
|
||||||
for(i = 0; i < this->objectCount; i++)
|
for(i = 0; i < this->objectCount; i++)
|
||||||
{
|
{
|
||||||
if (!this->objectList[i]->haveFiniteBounds())
|
if (this->objectList[i]->haveFiniteBounds())
|
||||||
{
|
{
|
||||||
BoundingBox objB = this->objectList[i]->getBounds();
|
BoundingBox objB = this->objectList[i]->getBounds();
|
||||||
this->bounds | objB;
|
this->bounds | objB;
|
||||||
|
|||||||
Reference in New Issue
Block a user