diff options
author | Valerio Virgillito | 2012-07-19 11:56:08 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-19 11:56:08 -0700 |
commit | c97f806fceb2a2e3c668b965e4f8e6fc047a3d9a (patch) | |
tree | 8e8d87b31fffb7163aff0634ba4128f08be66343 /js/tools/Translate3DToolBase.js | |
parent | 6a49b632e0d7113ca7a6709e0a58097771512f20 (diff) | |
parent | fc13ef1e806116bb7ece5bb06604fa4f5714a6ed (diff) | |
download | ninja-c97f806fceb2a2e3c668b965e4f8e6fc047a3d9a.tar.gz |
Merge branch 'StageDrawingFixes' of https://github.com/mqg734/ninja into v0.7.1
Diffstat (limited to 'js/tools/Translate3DToolBase.js')
-rwxr-xr-x | js/tools/Translate3DToolBase.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/tools/Translate3DToolBase.js b/js/tools/Translate3DToolBase.js index 57a379e4..b5008666 100755 --- a/js/tools/Translate3DToolBase.js +++ b/js/tools/Translate3DToolBase.js | |||
@@ -302,7 +302,6 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase, | |||
302 | if(len) { | 302 | if(len) { |
303 | if(len === 1) { | 303 | if(len === 1) { |
304 | this.target = this.application.ninja.selectedElements[0]; | 304 | this.target = this.application.ninja.selectedElements[0]; |
305 | drawUtils.addElement(this.target); | ||
306 | 305 | ||
307 | viewUtils.pushViewportObj( this.target ); | 306 | viewUtils.pushViewportObj( this.target ); |
308 | var eltCtr = viewUtils.getCenterOfProjection(); | 307 | var eltCtr = viewUtils.getCenterOfProjection(); |