- Timestamp:
- Dec 15, 2008, 7:57:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/worldentities/WorldEntity.cc
r2466 r2469 74 74 // Note: CompoundCollisionShape is a Synchronisable, but must not be synchronised. 75 75 // All objects will get attached on the client anyway, so we don't need synchronisation. 76 this->collisionShape_->s uppressSynchronisation();76 this->collisionShape_->setWorldEntityParent(this); 77 77 this->collisionType_ = None; 78 78 this->collisionTypeSynchronised_ = None; … … 459 459 void WorldEntity::setScale3D(const Vector3& scale) 460 460 { 461 if (this->hasPhysics() )461 if (this->hasPhysics() && scale != Vector3::UNIT_SCALE) 462 462 { 463 463 CCOUT(2) << "Warning: Cannot set the scale of a physical object: Not yet implemented." << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.