Sfoglia il codice sorgente

Merge pull request #6279 from yomotsu/dev

Fixed: NormalMaterial on the Docs does not work
Mr.doob 10 anni fa
parent
commit
663f6077e9
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      docs/scenes/js/material.js

+ 0 - 1
docs/scenes/js/material.js

@@ -365,7 +365,6 @@ function guiMeshNormalMaterial ( gui, mesh, material, geometry ) {
 
 	var folder = gui.addFolder('THREE.MeshNormalMaterial');
 
-	folder.add( material, 'shading', constants.shading).onChange( needsUpdate( material, geometry ) );
 	folder.add( material, 'wireframe' );
 	folder.add( material, 'wireframeLinewidth', 0, 10 );
 	folder.add( material, 'morphTargets' ).onChange( updateMorphs( mesh, material ) );