aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D/view-utils.js
diff options
context:
space:
mode:
authorhwc4872012-04-13 11:12:40 -0700
committerhwc4872012-04-13 11:12:40 -0700
commit521df0ed9242efff45715998837068c87aca7efd (patch)
tree47311767f5921b2ccd8a8e83ca7ba62798f2793a /js/helper-classes/3D/view-utils.js
parentf522ce09d98bbb2812ed25bb942597d854d71a1c (diff)
downloadninja-521df0ed9242efff45715998837068c87aca7efd.tar.gz
3D Rotate changes
Diffstat (limited to 'js/helper-classes/3D/view-utils.js')
-rwxr-xr-xjs/helper-classes/3D/view-utils.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js
index 392de0be..f803a274 100755
--- a/js/helper-classes/3D/view-utils.js
+++ b/js/helper-classes/3D/view-utils.js
@@ -112,13 +112,6 @@ exports.ViewUtils = Montage.create(Component, {
112 var mat = this.getMatrixFromElement(elt); 112 var mat = this.getMatrixFromElement(elt);
113 var plane = [mat[8], mat[9], mat[10], mat[11]]; 113 var plane = [mat[8], mat[9], mat[10], mat[11]];
114 114
115 var stage = this.application.ninja.currentDocument.documentRoot;
116 if (elt === stage)
117 {
118 xVec = [1,0,0];
119 yVec = [0,1,0];
120 }
121
122 // The translation value is a point on the plane 115 // The translation value is a point on the plane
123 this.pushViewportObj( elt ); 116 this.pushViewportObj( elt );
124 var ptOnPlane = this.getCenterOfProjection(); 117 var ptOnPlane = this.getCenterOfProjection();