Pārlūkot izejas kodu

Remove duplicate transmission property (#22464)

WestLangley 3 gadi atpakaļ
vecāks
revīzija
a6f25bce55
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0 3
      src/materials/MeshPhysicalMaterial.js

+ 0 - 3
src/materials/MeshPhysicalMaterial.js

@@ -72,7 +72,6 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
 		this.sheenTint = new Color( 0x000000 );
 		this.sheenRoughness = 1.0;
 
-		this.transmission = 0.0;
 		this.transmissionMap = null;
 
 		this.thickness = 0.01;
@@ -88,7 +87,6 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
 		this._clearcoat = 0;
 		this._transmission = 0;
 
-
 		this.setValues( parameters );
 
 	}
@@ -129,7 +127,6 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
 
 	}
 
-
 	copy( source ) {
 
 		super.copy( source );