three-gpu-pathtracer 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -916,7 +916,7 @@
916
916
  for ( let i = 0, l = objects.length; i < l; i ++ ) {
917
917
 
918
918
  const object = objects[ i ];
919
- object.traverse( o => {
919
+ object.traverseVisible( o => {
920
920
 
921
921
  if ( o.isMesh ) {
922
922