Explorar el Código

Include shading property in Material copy method (#9044)

razh hace 10 años
padre
commit
27bc8a9db9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/materials/Material.js

+ 1 - 0
src/materials/Material.js

@@ -253,6 +253,7 @@ THREE.Material.prototype = {
 
 		this.blending = source.blending;
 		this.side = source.side;
+		this.shading = source.shading;
 		this.vertexColors = source.vertexColors;
 
 		this.opacity = source.opacity;

粤ICP备19079148号