Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 14, 2008, 12:25:13 AM (15 years ago)
Author:
rgrieder
Message:

Replaced most Exception throwing considering physics with warnings. Actions are simply ignored then.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/orxonox/objects/collisionshapes/CollisionShape.cc

    r2429 r2433  
    100100    void CollisionShape::setScale3D(const Vector3& scale)
    101101    {
    102         ThrowException(NotImplemented, "Cannot set the scale of a collision shape: Not yet implemented.");
    103         this->updateParent();
     102        CCOUT(2) << "Warning: Cannot set the scale of a collision shape: Not yet implemented." << std::endl;
    104103    }
    105104
    106105    void CollisionShape::setScale(float scale)
    107106    {
    108         ThrowException(NotImplemented, "Cannot set the scale of a collision shape: Not yet implemented.");
    109         this->updateParent();
     107        CCOUT(2) << "Warning: Cannot set the scale of a collision shape: Not yet implemented." << std::endl;
    110108    }
    111109
Note: See TracChangeset for help on using the changeset viewer.