aboutsummaryrefslogtreecommitdiff
path: root/js/tools/Translate3DToolBase.js
diff options
context:
space:
mode:
authorhwc4872012-05-31 17:11:08 -0700
committerhwc4872012-05-31 17:11:08 -0700
commit1c445cf5d905f79937998cf2f1115594ea8c1074 (patch)
tree35271ad7ffec86fde9102af3dd954fa3a2974582 /js/tools/Translate3DToolBase.js
parent335ce503996e3ccbd2909086328d0a31fbd03370 (diff)
parent6042bdc5f2aada4412912fd01602d32c9088dc26 (diff)
downloadninja-1c445cf5d905f79937998cf2f1115594ea8c1074.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Conflicts: js/io/system/ninjalibrary.json
Diffstat (limited to 'js/tools/Translate3DToolBase.js')
-rwxr-xr-xjs/tools/Translate3DToolBase.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/Translate3DToolBase.js b/js/tools/Translate3DToolBase.js
index f81ce6d6..8437ec09 100755
--- a/js/tools/Translate3DToolBase.js
+++ b/js/tools/Translate3DToolBase.js
@@ -296,7 +296,7 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase,
296 //this._setTransformOrigin(false); 296 //this._setTransformOrigin(false);
297 } 297 }
298 else { 298 else {
299 this.target = this.application.ninja.currentDocument.documentRoot; 299 this.target = this.application.ninja.currentDocument.model.documentRoot;
300 //this._origin = drawUtils._selectionCtr.slice(0); 300 //this._origin = drawUtils._selectionCtr.slice(0);
301 //this._origin[0] += this.application.ninja.stage.userContentLeft; 301 //this._origin[0] += this.application.ninja.stage.userContentLeft;
302 //this._origin[1] += this.application.ninja.stage.userContentTop; 302 //this._origin[1] += this.application.ninja.stage.userContentTop;
@@ -407,7 +407,7 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase,
407 else 407 else
408 { 408 {
409 lMode = false; 409 lMode = false;
410 viewUtils.pushViewportObj( this.application.ninja.currentDocument.documentRoot ); 410 viewUtils.pushViewportObj( this.application.ninja.currentDocument.model.documentRoot );
411 } 411 }
412 412
413 if(this._handleMode !== null) 413 if(this._handleMode !== null)