mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
reset timer as optimization
This commit is contained in:
parent
0f7859bf83
commit
662136f01c
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ void SixenseManager::update(float deltaTime) {
|
|||
for (std::vector<PalmData>::iterator it = hand->getPalms().begin(); it != hand->getPalms().end(); it++) {
|
||||
it->setActive(false);
|
||||
}
|
||||
_lastMovement = usecTimestampNow();
|
||||
}
|
||||
|
||||
if (sixenseGetNumActiveControllers() == 0) {
|
||||
|
|
Loading…
Reference in a new issue