Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 17, 2014, 3:41:17 PM (10 years ago)
Author:
noep
Message:

Tried to prevent the StaticEntities & Collisionshapes from getting deleted by creating vectors of SmartPointers to them. didn't work.

File:
1 edited

Legend:

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

    r10033 r10036  
    138138        if (this->attachedShapes_.find(shape) != this->attachedShapes_.end())
    139139        {
    140             orxout() << "Still going..." << endl;
    141140            this->attachedShapes_.erase(shape);
    142141            if (shape->getCollisionShape())
    143142                this->compoundShape_->removeChildShape(shape->getCollisionShape()); // TODO: Apparently this is broken?
    144143            shape->notifyDetached();
    145             orxout() << "Still going...." << endl;
    146144
    147145            this->updatePublicShape();
    148             orxout() << "Still going....." << endl;
    149146        }
    150147        else
Note: See TracChangeset for help on using the changeset viewer.