Changeset 1232 for code/branches/network3/src/orxonox/objects/Camera.cc
- Timestamp:
- May 5, 2008, 1:19:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network3/src/orxonox/objects/Camera.cc
r1212 r1232 127 127 COUT(0) << "t " << this->targetNode_->getPosition() << std::endl; 128 128 if(this->positionNode_ != NULL) 129 //this->cam_->setPosition(this->positionNode_->getPosition());129 this->cam_->setPosition(this->positionNode_->getPosition()); 130 130 if(this->targetNode_ != NULL) 131 131 this->cam_->lookAt(this->targetNode_->getPosition()); … … 139 139 { 140 140 this->bHasFocus_ = false; 141 this->positionNode_->detachObject(cam_); 141 142 } 142 143
Note: See TracChangeset
for help on using the changeset viewer.