aboutsummaryrefslogtreecommitdiff
path: root/js/tools/modifier-tool-base.js
diff options
context:
space:
mode:
authorhwc4872012-04-05 17:03:14 -0700
committerhwc4872012-04-05 17:03:14 -0700
commit96bfeee2e6b735b87e8482d6e2cf24d5224c6417 (patch)
treeb666f3658b437da96afbef9735643e2e3418c520 /js/tools/modifier-tool-base.js
parent6ee8b65742fbe61b4429dc8c7dc9ca33a3e43600 (diff)
downloadninja-96bfeee2e6b735b87e8482d6e2cf24d5224c6417.tar.gz
translate3DObject tool fixes.
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-xjs/tools/modifier-tool-base.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js
index 2c9b484e..f9fd001c 100755
--- a/js/tools/modifier-tool-base.js
+++ b/js/tools/modifier-tool-base.js
@@ -405,6 +405,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
405 var index = this._snapIndex; 405 var index = this._snapIndex;
406 var pt0; 406 var pt0;
407 var useViewPoint = (this._inLocalMode && (this._targets.length === 1)); 407 var useViewPoint = (this._inLocalMode && (this._targets.length === 1));
408 //console.log( "useViewPoint: " + useViewPoint );
408 if (this._useQuadPt) 409 if (this._useQuadPt)
409 { 410 {
410 pt0 = this.GetQuadrantPoint(useViewPoint); 411 pt0 = this.GetQuadrantPoint(useViewPoint);
@@ -427,6 +428,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
427 pt1 = MathUtils.transformPoint( pt1, this._startMat ); 428 pt1 = MathUtils.transformPoint( pt1, this._startMat );
428 } 429 }
429 430
431 //console.log( "getMousePoints, useViewPoint: " + useViewPoint + ", " + pt0 + " => " + pt1 );
430 return {pt0:pt0, pt1:pt1}; 432 return {pt0:pt0, pt1:pt1};
431 } 433 }
432 else 434 else