mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-18 01:56:32 +02:00
changed stopKeepLookingAt() to stopLooking()
This commit is contained in:
parent
221a5c75c7
commit
bdf5c7a6b7
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ var oldMode = Camera.getMode();
|
|||
function cancelLookAt() {
|
||||
if (lookingAtSomething) {
|
||||
lookingAtSomething = false;
|
||||
Camera.stopKeepLookingAt();
|
||||
Camera.stopLooking();
|
||||
Camera.setMode(oldMode);
|
||||
releaseMovementKeys();
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ public:
|
|||
|
||||
/// stops the keep looking at feature, doesn't change what's being looked at, but will stop camera from
|
||||
/// continuing to update it's orientation to keep looking at the item
|
||||
void stopKeepLookingAt() { _isKeepLookingAt = false; }
|
||||
void stopLooking() { _isKeepLookingAt = false; }
|
||||
|
||||
private:
|
||||
|
||||
|
@ -143,7 +143,7 @@ public slots:
|
|||
|
||||
/// stops the keep looking at feature, doesn't change what's being looked at, but will stop camera from
|
||||
/// continuing to update it's orientation to keep looking at the item
|
||||
void stopKeepLookingAt() { _camera->stopKeepLookingAt();}
|
||||
void stopLooking() { _camera->stopLooking();}
|
||||
|
||||
PickRay computePickRay(float x, float y);
|
||||
|
||||
|
|
Loading…
Reference in a new issue