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/Rotate3DToolBase.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/Rotate3DToolBase.js')
-rw-r--r-- | js/tools/Rotate3DToolBase.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/Rotate3DToolBase.js b/js/tools/Rotate3DToolBase.js index 6e17864b..aa91b2f4 100644 --- a/js/tools/Rotate3DToolBase.js +++ b/js/tools/Rotate3DToolBase.js | |||
@@ -254,7 +254,7 @@ exports.Rotate3DToolBase = Montage.create(ModifierToolBase, { | |||
254 | captureSelectionDrawn: { | 254 | captureSelectionDrawn: { |
255 | value: function(event){ | 255 | value: function(event){ |
256 | this._origin = null; | 256 | this._origin = null; |
257 | this._targets = null; | 257 | this._targets = []; |
258 | this._startOriginArray = null; | 258 | this._startOriginArray = null; |
259 | 259 | ||
260 | var len = this.application.ninja.selectedElements.length; | 260 | var len = this.application.ninja.selectedElements.length; |