Parcourir la source

Update GTAOPass.js

Fix code style.
Michael Herzog il y a 7 mois
Parent
commit
8cd01795a0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/jsm/postprocessing/GTAOPass.js

+ 1 - 1
examples/jsm/postprocessing/GTAOPass.js

@@ -657,7 +657,7 @@ class GTAOPass extends Pass {
 
 			cache.set( object, object.visible );
 
-			if ( object.isPoints || object.isLine || object.isLine2) object.visible = false;
+			if ( object.isPoints || object.isLine || object.isLine2 ) object.visible = false;
 
 		} );
 

粤ICP备19079148号