diff options
author | Valerio Virgillito | 2012-04-11 10:32:52 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-11 10:32:52 -0700 |
commit | 9d1c919a4865ab1a2b0b0b9fc893a54b145c82c0 (patch) | |
tree | 9ebbe37bf22cb5280882a0ef5b95196fcf163251 /js/models | |
parent | bd43ce383b050d03b0f92cc923c517febc66ca28 (diff) | |
parent | 36df4f454d64c7b43062835495425021ce955b05 (diff) | |
download | ninja-9d1c919a4865ab1a2b0b0b9fc893a54b145c82c0.tar.gz |
Merge pull request #161 from mqg734/PerspectiveFix
IKNinja-812 - Perspective fix
Diffstat (limited to 'js/models')
-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 |