Changeset 10408 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 27, 2007, 5:05:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/cameraman.cc
r10406 r10408 62 62 { 63 63 BaseObject::loadParams(root); 64 65 LOAD_PARAM_START_CYCLE(root, object); 64 const TiXmlElement* camerasTag = root->FirstChildElement("Cameras"); 65 66 LOAD_PARAM_START_CYCLE(camerasTag, object); 66 67 { 67 68 this->createCam(object); … … 167 168 { 168 169 BaseObject* object = ObjectListBase::getBaseObject(className, targetEntity); 170 169 171 if(object != NULL) 172 { 170 173 this->atachCurrTarget(dynamic_cast<PNode*>(object)); 174 return; 175 } 176 177 printf("ERROR CAMERAMANAGER: Couldn't set camera target to: %s %s \n", className.c_str(),targetEntity.c_str() ); 171 178 } 172 179
Note: See TracChangeset
for help on using the changeset viewer.