Changeset 608 for code/branches/FICN/src/orxonox/objects
- Timestamp:
- Dec 18, 2007, 2:23:12 AM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox/objects
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r602 r608 13 13 Entity.cc 14 14 Camera.cc 15 SpaceshipSteeringObject.cc15 # SpaceshipSteeringObject.cc 16 16 Model.cc 17 17 Mesh.cc 18 SpaceShip.cc 18 19 NPC.cc 19 20 ) -
code/branches/FICN/src/orxonox/objects/Camera.cc
r560 r608 59 59 std::string node = xmlElem->Attribute("node"); 60 60 61 Ogre::SceneNode* sceneNode = (Ogre::SceneNode*)mgr->getRootSceneNode()-> getChild(node);61 Ogre::SceneNode* sceneNode = (Ogre::SceneNode*)mgr->getRootSceneNode()->createChildSceneNode(node); //getChild(node); 62 62 sceneNode->attachObject((Ogre::MovableObject*)cam); 63 63
Note: See TracChangeset
for help on using the changeset viewer.