Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 6, 2016, 3:32:26 PM (8 years ago)
Author:
landauf
Message:

orxonox now compiles with ogre 1.9 (but still needs some other changes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ogre1.9/src/orxonox/controllers/NewHumanController.cc

    r11071 r11129  
    397397                try
    398398                {
    399                     wePtr = orxonox_cast<WorldEntity*>(Ogre::any_cast<OrxonoxClass*>(itr->movable->getUserAny()));
     399#if OGRE_VERSION >= 0x010900
     400                    const Ogre::Any& any = itr->movable->getUserObjectBindings().getUserAny();
     401#else
     402                    const Ogre::Any& any = itr->movable->getUserAny();
     403#endif
     404                    wePtr = orxonox_cast<WorldEntity*>(Ogre::any_cast<OrxonoxClass*>(any));
    400405                }
    401406                catch (...)
Note: See TracChangeset for help on using the changeset viewer.