Changeset 11795 for code/branches/cegui0.8_ogre1.9/src/orxonox/controllers
- Timestamp:
- Feb 21, 2018, 12:03:52 AM (7 years ago)
- Location:
- code/branches/cegui0.8_ogre1.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8_ogre1.9
- Property svn:mergeinfo changed
/code/branches/cegui0.8 (added) merged: 11110,11118,11121,11124 /code/branches/ogre1.9 (added) merged: 11125-11132,11211,11453-11454
- Property svn:mergeinfo changed
-
code/branches/cegui0.8_ogre1.9/src/orxonox/controllers/NewHumanController.cc
r11071 r11795 397 397 try 398 398 { 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)); 400 405 } 401 406 catch (...)
Note: See TracChangeset
for help on using the changeset viewer.