[Orxonox-commit 6497] r11141 - code/branches/plehmannFS16/src/orxonox/controllers
plehmann at orxonox.net
plehmann at orxonox.net
Thu Mar 17 15:40:23 CET 2016
Author: plehmann
Date: 2016-03-17 15:40:22 +0100 (Thu, 17 Mar 2016)
New Revision: 11141
Modified:
code/branches/plehmannFS16/src/orxonox/controllers/ScriptController.cc
Log:
added a comment
Modified: code/branches/plehmannFS16/src/orxonox/controllers/ScriptController.cc
===================================================================
--- code/branches/plehmannFS16/src/orxonox/controllers/ScriptController.cc 2016-03-17 13:05:06 UTC (rev 11140)
+++ code/branches/plehmannFS16/src/orxonox/controllers/ScriptController.cc 2016-03-17 14:40:22 UTC (rev 11141)
@@ -102,11 +102,14 @@
* any preexisting human controllers in place.
*/
this->entity_->setDestroyWhenPlayerLeft(false);
- this->player_->pauseControl();
+ // uncomment the next line because i just did that for debug
+ //this->player_->pauseControl();
this->entity_->setController(this);
this->setControllableEntity(this->entity_);
this->entity_->mouseLook();
this->entity_->setVisible(false);
+
+ // TODO take the human Controllers control dont forget to give it back in the destructor
}
const Vector3& ScriptController::getPosition()
More information about the Orxonox-commit
mailing list