mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 08:36:26 +02:00
Disable camera tool temporarily
This commit is contained in:
parent
bd88e0f38d
commit
50bbeae30b
1 changed files with 6 additions and 6 deletions
|
@ -243,9 +243,9 @@ CameraManager = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
that.mousePressEvent = function(event) {
|
that.mousePressEvent = function(event) {
|
||||||
if (cameraTool.mousePressEvent(event)) {
|
// if (cameraTool.mousePressEvent(event)) {
|
||||||
return true;
|
// return true;
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (!that.enabled) return;
|
if (!that.enabled) return;
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ CameraManager = function() {
|
||||||
|
|
||||||
that.updateCamera = function() {
|
that.updateCamera = function() {
|
||||||
if (!that.enabled || Camera.mode != "independent") {
|
if (!that.enabled || Camera.mode != "independent") {
|
||||||
cameraTool.update();
|
// cameraTool.update();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -313,7 +313,7 @@ CameraManager = function() {
|
||||||
|
|
||||||
Camera.setOrientation(q);
|
Camera.setOrientation(q);
|
||||||
|
|
||||||
cameraTool.update();
|
// cameraTool.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
function normalizeDegrees(degrees) {
|
function normalizeDegrees(degrees) {
|
||||||
|
@ -383,7 +383,7 @@ CameraManager = function() {
|
||||||
|
|
||||||
Controller.wheelEvent.connect(that.wheelEvent);
|
Controller.wheelEvent.connect(that.wheelEvent);
|
||||||
|
|
||||||
var cameraTool = new CameraTool(that);
|
// var cameraTool = new CameraTool(that);
|
||||||
|
|
||||||
return that;
|
return that;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue