diff options
author | Nivesh Rajbhandari | 2012-02-09 08:47:33 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-09 08:47:33 -0800 |
commit | 4bd8b5ce3286d472fd852dc53ef07e90aadfb7e9 (patch) | |
tree | 6b70c0c4307fca62c3e0ecc6bc3898f2bc015ae6 /js/tools/RotateStage3DTool.js | |
parent | 529463fad4cf0a13293187b47e6b5081f3446cad (diff) | |
download | ninja-4bd8b5ce3286d472fd852dc53ef07e90aadfb7e9.tar.gz |
Fixed runtime error when using 3d tools without any items selected.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/RotateStage3DTool.js')
-rw-r--r-- | js/tools/RotateStage3DTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/RotateStage3DTool.js b/js/tools/RotateStage3DTool.js index 6f07adae..ca2a8bf3 100644 --- a/js/tools/RotateStage3DTool.js +++ b/js/tools/RotateStage3DTool.js | |||
@@ -83,7 +83,7 @@ exports.RotateStage3DTool = Montage.create(Rotate3DToolBase, { | |||
83 | captureSelectionDrawn: { | 83 | captureSelectionDrawn: { |
84 | value: function(event){ | 84 | value: function(event){ |
85 | this._origin = null; | 85 | this._origin = null; |
86 | this._targets = null; | 86 | this._targets = []; |
87 | this._startOriginArray = null; | 87 | this._startOriginArray = null; |
88 | 88 | ||
89 | var stage = this.application.ninja.currentDocument.documentRoot; | 89 | var stage = this.application.ninja.currentDocument.documentRoot; |