Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2010, 11:32:01 AM (15 years ago)
Author:
rgrieder
Message:

Ensured OGRE v1.7 "Cthugha" code compatibility. Does not yet seem to run run though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/graphics/Camera.cc

    r6417 r6501  
    6262
    6363        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)));
    6565        this->cameraNode_ = this->getScene()->getRootSceneNode()->createChildSceneNode();
    6666        this->attachNode(this->cameraNode_);
Note: See TracChangeset for help on using the changeset viewer.