Corrected makefile, and corrected closure compiler warning

This commit is contained in:
Thomas FORGIONE 2015-07-06 18:23:56 +02:00
parent 422bd7682d
commit 2aea555a74
2 changed files with 0 additions and 12 deletions

View File

@ -30,7 +30,6 @@ L3D:
--js l3d/src/cameras/Camera.js \ --js l3d/src/cameras/Camera.js \
--js l3d/src/cameras/FixedCamera.js \ --js l3d/src/cameras/FixedCamera.js \
--js l3d/src/cameras/PointerCamera.js \ --js l3d/src/cameras/PointerCamera.js \
--js l3d/src/cameras/CameraContainer.js \
--js l3d/src/scenes/initScene.js \ --js l3d/src/scenes/initScene.js \
--js_output_file ../static/js/l3d.min.js --js_output_file ../static/js/l3d.min.js

View File

@ -266,18 +266,7 @@ ProgressiveLoader.prototype.initIOCallbacks = function() {
} else if (elt.type === 'usemtl') { } else if (elt.type === 'usemtl') {
if (self.currentMesh !== undefined) {
// if (self.currentMesh.geometry.attributes.normal === undefined) {
// self.currentMesh.geometry.computeVertexNormals();
// }
}
// Must create new mesh // Must create new mesh
// console.log("New mesh arrived : " + elt.materialName);
// Create mesh material // Create mesh material
var material; var material;