Skip to content

Commit

Permalink
Merge pull request #632 from KihwanChoi12/dev/mesh-visible
Browse files Browse the repository at this point in the history
Fix to only render objects with visible true
  • Loading branch information
gkjohnson authored May 3, 2024
2 parents 8c34706 + c302364 commit 7121d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils/StaticGeometryGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function flatTraverseMeshes( objects, cb ) {
for ( let i = 0, l = objects.length; i < l; i ++ ) {

const object = objects[ i ];
object.traverse( o => {
object.traverseVisible( o => {

if ( o.isMesh ) {

Expand Down

0 comments on commit 7121d0d

Please sign in to comment.