repo: janusweb action: commit revision: path_from: revision_from: 9ff454aa33c7d2d56dd8834f50cd8edaf66c4089: path_to: revision_to:
commit 9ff454aa33c7d2d56dd8834f50cd8edaf66c4089 Author: James BaicoianuDate: Mon May 22 00:00:08 2017 -0700 Disable normal calculation (already happens in asset loader) diff --git a/scripts/object.js b/scripts/object.js
--- a/scripts/object.js
+++ b/scripts/object.js
@@ -114,10 +114,6 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
//collider.bindScale(this.properties.scale);
collider.traverse(elation.bind(this, function(n) {
- if (n.geometry) {
- n.geometry.computeVertexNormals();
- n.geometry.computeFaceNormals();
- }
if (n.material) n.material = new THREE.MeshLambertMaterial({color: 0x999900, opacity: .2, transparent: true, emissive: 0x444400, alphaTest: .01, depthTest: false, depthWrite: false});
n.userData.thing = this;
}));
-----END OF PAGE-----