06wj 6 years ago
parent
commit
435a3e1b3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/GLTFLoader.js

+ 1 - 1
examples/js/loaders/GLTFLoader.js

@@ -949,7 +949,7 @@ THREE.GLTFLoader = ( function () {
 
 				}
 
-				if (material.envMap) {
+				if ( material.envMap ) {
 
 					uniforms.envMap.value = material.envMap;
 					uniforms.envMapIntensity.value = material.envMapIntensity;