diff options
author | Kruti Shah | 2012-05-31 10:44:45 -0700 |
---|---|---|
committer | Kruti Shah | 2012-05-31 10:44:45 -0700 |
commit | c350cc1c060fdf17357ddadce024267943784593 (patch) | |
tree | 453f86e88f1ee1dfda6fb4b7cc7b17e306e39536 /js/tools/Translate3DToolBase.js | |
parent | fdc4f5c7f81ae3b9adeca2232e60268b4be594a2 (diff) | |
parent | 121d0e616f48aa7cd048763554089c20a1883d7a (diff) | |
download | ninja-c350cc1c060fdf17357ddadce024267943784593.tar.gz |
Merge branch 'refs/heads/TimelineUberjd' into TimelineUber
Conflicts:
js/panels/Timeline/Layer.reel/Layer.js
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/tools/Translate3DToolBase.js')
-rwxr-xr-x | js/tools/Translate3DToolBase.js | 4 |
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) |