@@ -600,7 +600,7 @@ THREE.GLTFLoader = ( function () {
600600				var  scale  =  extension . clearcoatNormalTexture . scale ; 
601601
602602				// https://github.com/mrdoob/three.js/issues/11438#issuecomment-507003995 
603- 				materialParams . clearcoatNormalScale  =  new  THREE . Vector2 (  scale ,  - scale  ) ; 
603+ 				materialParams . clearcoatNormalScale  =  new  THREE . Vector2 (  scale ,  -   scale  ) ; 
604604
605605			} 
606606
@@ -2357,14 +2357,11 @@ THREE.GLTFLoader = ( function () {
23572357	 */ 
23582358	GLTFParser . prototype . loadTexture  =  function  (  textureIndex  )  { 
23592359
2360- 		var  parser  =  this ; 
23612360		var  json  =  this . json ; 
23622361		var  options  =  this . options ; 
23632362
23642363		var  textureDef  =  json . textures [  textureIndex  ] ; 
23652364
2366- 		var  textureExtensions  =  textureDef . extensions  ||  { } ; 
2367- 
23682365		var  source ; 
23692366
23702367		source  =  json . images [  textureDef . source  ] ; 
@@ -2622,8 +2619,8 @@ THREE.GLTFLoader = ( function () {
26222619					cachedMaterial . vertexTangents  =  true ; 
26232620
26242621					// https://github.com/mrdoob/three.js/issues/11438#issuecomment-507003995 
2625- 					if  (  cachedMaterial . normalScale  )  cachedMaterial . normalScale . y  *=  - 1 ; 
2626- 					if  (  cachedMaterial . clearcoatNormalScale  )  cachedMaterial . clearcoatNormalScale . y  *=  - 1 ; 
2622+ 					if  (  cachedMaterial . normalScale  )  cachedMaterial . normalScale . y  *=  -   1 ; 
2623+ 					if  (  cachedMaterial . clearcoatNormalScale  )  cachedMaterial . clearcoatNormalScale . y  *=  -   1 ; 
26272624
26282625				} 
26292626
@@ -2766,11 +2763,11 @@ THREE.GLTFLoader = ( function () {
27662763			pending . push (  parser . assignTexture (  materialParams ,  'normalMap' ,  materialDef . normalTexture  )  ) ; 
27672764
27682765			// https://github.com/mrdoob/three.js/issues/11438#issuecomment-507003995 
2769- 			materialParams . normalScale  =  new  THREE . Vector2 (  1 ,  - 1  ) ; 
2766+ 			materialParams . normalScale  =  new  THREE . Vector2 (  1 ,  -   1  ) ; 
27702767
27712768			if  (  materialDef . normalTexture . scale  !==  undefined  )  { 
27722769
2773- 				materialParams . normalScale . set (  materialDef . normalTexture . scale ,  - materialDef . normalTexture . scale  ) ; 
2770+ 				materialParams . normalScale . set (  materialDef . normalTexture . scale ,  -   materialDef . normalTexture . scale  ) ; 
27742771
27752772			} 
27762773
0 commit comments