Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10204


Ignore:
Timestamp:
Jan 25, 2015, 11:32:17 PM (10 years ago)
Author:
landauf
Message:

i think this can be removed as well. the user pointer was probably only used in the debugging functions in Pawn.cc (which was already removed)

File:
1 edited

Legend:

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

    r10203 r10204  
    3939#include "core/XMLPort.h"
    4040#include "tools/BulletConversions.h"
    41 
    42 #include "collisionshapes/WorldEntityCollisionShape.h"
    4341
    4442namespace orxonox
     
    120118            this->updatePublicShape();
    121119        }
    122 
    123         // If the shape to be attached is not a CompoundCollisionShape (thus an actual physical shape) & this is a WorldEntity's CollisionShape,
    124         // set it's userPointer to the WorldEntity this CompoundCollisionShape belongs to.
    125         if (!orxonox_cast<CompoundCollisionShape*>(shape) && orxonox_cast<WorldEntityCollisionShape*>(this))
    126             shape->getCollisionShape()->setUserPointer(orxonox_cast<WorldEntityCollisionShape*>(this)->getWorldEntityOwner());
    127120    }
    128121
Note: See TracChangeset for help on using the changeset viewer.