Corrected makefile, and corrected closure compiler warning
This commit is contained in:
parent
422bd7682d
commit
2aea555a74
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue