Skip to content

Commit

Permalink
Small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Dec 25, 2024
1 parent da84091 commit f5ba408
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/three/fade/TilesFadePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ function onUpdateAfter() {

}

const isFadingOut = fadeManager.isFadingOut( t );
this.forEachBatchIds( t, ( id, batchedMesh, plugin ) => {

batchedMesh.setVisibleAt( id, isFadingOut && t.__inFrustum );
batchedMesh.setVisibleAt( id, t.__inFrustum );
plugin.batchedMesh.setVisibleAt( id, t.__inFrustum );

} );
Expand Down

0 comments on commit f5ba408

Please sign in to comment.