diff options
author | Valerio Virgillito | 2012-04-04 13:27:40 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-04 13:27:40 -0700 |
commit | 9f1806a7134ec4744a8009e6a7467f5cea04cabf (patch) | |
tree | b4038b10cb105cc9860f869e6bb372a74b05813c /js/tools/Rotate3DToolBase.js | |
parent | 56a042a8ed5d1cb2cb82781952f09ffd6a8338ea (diff) | |
parent | 8482e23cd9b8c4700b5130f2588e5eb24d376536 (diff) | |
download | ninja-9f1806a7134ec4744a8009e6a7467f5cea04cabf.tar.gz |
Merge branch 'refs/heads/master' into components
Diffstat (limited to 'js/tools/Rotate3DToolBase.js')
-rwxr-xr-x | js/tools/Rotate3DToolBase.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/Rotate3DToolBase.js b/js/tools/Rotate3DToolBase.js index b04e8b0a..eb2cdba4 100755 --- a/js/tools/Rotate3DToolBase.js +++ b/js/tools/Rotate3DToolBase.js | |||
@@ -262,7 +262,7 @@ exports.Rotate3DToolBase = Montage.create(ModifierToolBase, { | |||
262 | { | 262 | { |
263 | if(len === 1) | 263 | if(len === 1) |
264 | { | 264 | { |
265 | this.target = this.application.ninja.selectedElements[0]._element; | 265 | this.target = this.application.ninja.selectedElements[0]; |
266 | drawUtils.addElement(this.target); | 266 | drawUtils.addElement(this.target); |
267 | 267 | ||
268 | viewUtils.pushViewportObj( this.target ); | 268 | viewUtils.pushViewportObj( this.target ); |
@@ -311,7 +311,7 @@ exports.Rotate3DToolBase = Montage.create(ModifierToolBase, { | |||
311 | this._targets = []; | 311 | this._targets = []; |
312 | for(var i = 0; i < len; i++) | 312 | for(var i = 0; i < len; i++) |
313 | { | 313 | { |
314 | var elt = this.application.ninja.selectedElements[i]._element; | 314 | var elt = this.application.ninja.selectedElements[i]; |
315 | // this._initProps3D(elt); | 315 | // this._initProps3D(elt); |
316 | 316 | ||
317 | 317 | ||