mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-23 19:00:04 +02:00
Update editEntities camera to not enable if camera is in independent mode
This commit is contained in:
parent
2556b4790b
commit
80002551f9
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,8 @@ CameraManager = function() {
|
||||||
that.lastMousePosition = { x: 0, y: 0 };
|
that.lastMousePosition = { x: 0, y: 0 };
|
||||||
|
|
||||||
that.enable = function() {
|
that.enable = function() {
|
||||||
if (that.enabled) return;
|
if (Camera.mode == "independent" || that.enabled) return;
|
||||||
|
|
||||||
that.enabled = true;
|
that.enabled = true;
|
||||||
that.mode = MODE_INACTIVE;
|
that.mode = MODE_INACTIVE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue