Changeset 6501 for code/trunk/src/orxonox/graphics
- Timestamp:
- Mar 11, 2010, 11:32:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/graphics/Camera.cc
r6417 r6501 62 62 63 63 this->camera_ = this->getScene()->getSceneManager()->createCamera(getUniqueNumberString()); 64 this->camera_->setUserObject(this);64 static_cast<Ogre::MovableObject*>(this->camera_)->setUserAny(Ogre::Any(static_cast<OrxonoxClass*>(this))); 65 65 this->cameraNode_ = this->getScene()->getRootSceneNode()->createChildSceneNode(); 66 66 this->attachNode(this->cameraNode_);
Note: See TracChangeset
for help on using the changeset viewer.