aboutsummaryrefslogtreecommitdiff
path: root/js/tools/Translate3DToolBase.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-07-20 09:52:03 -0700
committerJose Antonio Marquez2012-07-20 09:52:03 -0700
commit5d82978e9a0e0daf7c457ff87be95a3b4301999e (patch)
tree906f908fef755b8e0f57ab7a0d9ce348c398958b /js/tools/Translate3DToolBase.js
parenta8b7648d2c1305eb068d42ebde9b042ee6de72ab (diff)
parent9053e2037821a5c8405fabb74db9635deacfe8d5 (diff)
downloadninja-5d82978e9a0e0daf7c457ff87be95a3b4301999e.tar.gz
Merge branch 'refs/heads/Ninja-Master' into Document
Diffstat (limited to 'js/tools/Translate3DToolBase.js')
-rwxr-xr-xjs/tools/Translate3DToolBase.js1
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();