mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01: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.enable = function() {
|
||||
if (that.enabled) return;
|
||||
if (Camera.mode == "independent" || that.enabled) return;
|
||||
|
||||
that.enabled = true;
|
||||
that.mode = MODE_INACTIVE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue