diff options
author | Nivesh Rajbhandari | 2012-04-09 16:04:24 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-09 16:04:24 -0700 |
commit | 952e0b2c28af081041fa8987c3e865b931d052fa (patch) | |
tree | 51a2d9a210cc89b8df8edd120d78c4fbd2480b06 /js/models/properties-3d.js | |
parent | c62c5c4287a1ee8a276b32dc61f06abbc24818ec (diff) | |
download | ninja-952e0b2c28af081041fa8987c3e865b931d052fa.tar.gz |
Single perspective fix.
Note that rotating multiple objects when the stage is rotated still doesn't work and flatten still doesn't work.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/models/properties-3d.js')
-rwxr-xr-x | js/models/properties-3d.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/js/models/properties-3d.js b/js/models/properties-3d.js index 0a7cf8bb..c1270c3b 100755 --- a/js/models/properties-3d.js +++ b/js/models/properties-3d.js | |||
@@ -67,10 +67,6 @@ exports.Properties3D = Montage.create(Component, { | |||
67 | this.matrix3d = Matrix.I(4); | 67 | this.matrix3d = Matrix.I(4); |
68 | } | 68 | } |
69 | 69 | ||
70 | if(this.perspectiveDist == null) { | ||
71 | this.perspectiveDist = 1400; | ||
72 | } | ||
73 | |||
74 | return this; | 70 | return this; |
75 | } | 71 | } |
76 | }, | 72 | }, |
@@ -94,7 +90,7 @@ exports.Properties3D = Montage.create(Component, { | |||
94 | ResetTranslationValues : { | 90 | ResetTranslationValues : { |
95 | value : function() { | 91 | value : function() { |
96 | // this.m_objStartPos = [0,0,0]; | 92 | // this.m_objStartPos = [0,0,0]; |
97 | this.perspectiveDist = 1400; | 93 | // this.perspectiveDist = 1400; |
98 | } | 94 | } |
99 | } | 95 | } |
100 | }); \ No newline at end of file | 96 | }); \ No newline at end of file |