- 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/worldentities/WorldEntity.cc
r11083 r11795 548 548 { 549 549 this->node_->attachObject(object); 550 #if OGRE_VERSION >= 0x010900 551 object->getUserObjectBindings().setUserAny(Ogre::Any(static_cast<OrxonoxClass*>(this))); 552 #else 550 553 object->setUserAny(Ogre::Any(static_cast<OrxonoxClass*>(this))); 554 #endif 551 555 } 552 556 … … 563 567 void WorldEntity::detachOgreObject(Ogre::MovableObject* object) 564 568 { 569 #if OGRE_VERSION >= 0x010900 570 object->getUserObjectBindings().setUserAny(Ogre::Any(static_cast<OrxonoxClass*>(nullptr))); 571 #else 565 572 object->setUserAny(Ogre::Any(static_cast<OrxonoxClass*>(nullptr))); 573 #endif 566 574 this->node_->detachObject(object); 567 575 }
Note: See TracChangeset
for help on using the changeset viewer.