Kaynağa Gözat

Update GTAOPass.js

Fix code style.
Michael Herzog 7 ay önce
ebeveyn
işleme
8cd01795a0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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号