Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2008, 1:52:00 AM (16 years ago)
Author:
rgrieder
Message:

Two bugfixes and an optimisation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/collisionshapes/CompoundCollisionShape.cc

    r2459 r2463  
    151151        }
    152152        if (bEmpty)
     153        {
     154            if (this->collisionShape_ == 0)
     155            {
     156                this->collisionShape_ = 0;
     157                return;
     158            }
    153159            this->collisionShape_ = 0;
     160        }
    154161        else if (bPrimitive)
    155162        {
Note: See TracChangeset for help on using the changeset viewer.