mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 06:57:37 +02:00
[Case 6491] Minor: Switching off wantDebug flags that were left on.
Changes Committed: modified: scripts/system/libraries/entitySelectionTool.js
This commit is contained in:
parent
196b665e22
commit
18cc632df5
1 changed files with 6 additions and 8 deletions
|
@ -2393,7 +2393,7 @@ SelectionDisplay = (function() {
|
||||||
startingDistance: 0.0,
|
startingDistance: 0.0,
|
||||||
startingElevation: 0.0,
|
startingElevation: 0.0,
|
||||||
onBegin: function(event,isAltFromGrab, intersectInfo) {
|
onBegin: function(event,isAltFromGrab, intersectInfo) {
|
||||||
var wantDebug = true;
|
var wantDebug = false;
|
||||||
if(wantDebug){
|
if(wantDebug){
|
||||||
print("================== TRANSLATE_XZ(Beg) -> =======================");
|
print("================== TRANSLATE_XZ(Beg) -> =======================");
|
||||||
Vec3.print(" intersectInfo.queryRay", intersectInfo.queryRay);
|
Vec3.print(" intersectInfo.queryRay", intersectInfo.queryRay);
|
||||||
|
@ -3634,7 +3634,7 @@ SelectionDisplay = (function() {
|
||||||
addGrabberTool(yawHandle, {
|
addGrabberTool(yawHandle, {
|
||||||
mode: "ROTATE_YAW",
|
mode: "ROTATE_YAW",
|
||||||
onBegin: function(event) {
|
onBegin: function(event) {
|
||||||
var wantDebug = true;
|
var wantDebug = false;
|
||||||
if (wantDebug) {
|
if (wantDebug) {
|
||||||
print("================== HANDLE_YAW(Beg) -> =======================");
|
print("================== HANDLE_YAW(Beg) -> =======================");
|
||||||
}
|
}
|
||||||
|
@ -3838,7 +3838,7 @@ SelectionDisplay = (function() {
|
||||||
addGrabberTool(pitchHandle, {
|
addGrabberTool(pitchHandle, {
|
||||||
mode: "ROTATE_PITCH",
|
mode: "ROTATE_PITCH",
|
||||||
onBegin: function (event) {
|
onBegin: function (event) {
|
||||||
var wantDebug = true;
|
var wantDebug = false;
|
||||||
if (wantDebug){
|
if (wantDebug){
|
||||||
print("================== HANDLE_PITCH(Beg) -> =======================");
|
print("================== HANDLE_PITCH(Beg) -> =======================");
|
||||||
}
|
}
|
||||||
|
@ -4032,7 +4032,7 @@ SelectionDisplay = (function() {
|
||||||
addGrabberTool(rollHandle, {
|
addGrabberTool(rollHandle, {
|
||||||
mode: "ROTATE_ROLL",
|
mode: "ROTATE_ROLL",
|
||||||
onBegin: function (event) {
|
onBegin: function (event) {
|
||||||
var wantDebug = true;
|
var wantDebug = false;
|
||||||
if(wantDebug){
|
if(wantDebug){
|
||||||
print("================== HANDLE_ROLL(Beg) -> =======================");
|
print("================== HANDLE_ROLL(Beg) -> =======================");
|
||||||
}
|
}
|
||||||
|
@ -4255,7 +4255,7 @@ SelectionDisplay = (function() {
|
||||||
|
|
||||||
// FUNCTION DEF(s): Intersection Check Helpers
|
// FUNCTION DEF(s): Intersection Check Helpers
|
||||||
function testRayIntersect(queryRay, overlayIncludes, overlayExcludes) {
|
function testRayIntersect(queryRay, overlayIncludes, overlayExcludes) {
|
||||||
var wantDebug = true;
|
var wantDebug = false;
|
||||||
if ((queryRay === undefined) || (queryRay === null)) {
|
if ((queryRay === undefined) || (queryRay === null)) {
|
||||||
if (wantDebug) {
|
if (wantDebug) {
|
||||||
print("testRayIntersect - EARLY EXIT -> queryRay is undefined OR null!");
|
print("testRayIntersect - EARLY EXIT -> queryRay is undefined OR null!");
|
||||||
|
@ -4306,12 +4306,10 @@ SelectionDisplay = (function() {
|
||||||
|
|
||||||
return intersectObj;
|
return intersectObj;
|
||||||
}
|
}
|
||||||
//--------------------
|
|
||||||
|
|
||||||
//---------------------------------------
|
|
||||||
// FUNCTION: MOUSE PRESS EVENT
|
// FUNCTION: MOUSE PRESS EVENT
|
||||||
that.mousePressEvent = function (event) {
|
that.mousePressEvent = function (event) {
|
||||||
var wantDebug = true;
|
var wantDebug = false;
|
||||||
if (wantDebug) {
|
if (wantDebug) {
|
||||||
print("=============== eST::MousePressEvent BEG =======================");
|
print("=============== eST::MousePressEvent BEG =======================");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue