Selaa lähdekoodia

Updated examples builds.

Mr.doob 4 vuotta sitten
vanhempi
commit
855f9daa9a
2 muutettua tiedostoa jossa 2 lisäystä ja 11 poistoa
  1. 0 7
      examples/js/lines/LineGeometry.js
  2. 2 4
      examples/js/loaders/3DMLoader.js

+ 0 - 7
examples/js/lines/LineGeometry.js

@@ -73,13 +73,6 @@
 
 		}
 
-		copy( ) {
-
-			// todo
-			return this;
-
-		}
-
 	}
 
 	LineGeometry.prototype.isLineGeometry = true;

+ 2 - 4
examples/js/loaders/3DMLoader.js

@@ -826,16 +826,14 @@
 
 				if ( _pbrMaterial.supported ) {
 
-					console.log( 'pbr true' );
-
 					for ( let j = 0; j < pbrTextureTypes.length; j ++ ) {
 
-						const _texture = _material.getTexture( textureTypes[ j ] );
+						const _texture = _material.getTexture( pbrTextureTypes[ j ] );
 
 						if ( _texture ) {
 
 							const image = doc.getEmbeddedFileAsBase64( _texture.fileName );
-							let textureType = textureTypes[ j ].constructor.name;
+							let textureType = pbrTextureTypes[ j ].constructor.name;
 							textureType = textureType.substring( 12, textureType.length );
 							const texture = {
 								type: textureType,