Skip to content

Commit 4c5d1b5

Browse files
s-rigaudSamuel Rigaud
andauthored
SceneOptimizer: Fix wrong reference to _logDebugInfo (#30711)
Co-authored-by: Samuel Rigaud <[email protected]>
1 parent ea8a13c commit 4c5d1b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/jsm/utils/SceneOptimizer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ class SceneOptimizer {
346346
/**
347347
* Removes the given array of meshes from the scene.
348348
*
349-
* @param {Array<Mesh>} meshesToRemove - The meshes to remove.
349+
* @param {Set<Mesh>} meshesToRemove - The meshes to remove.
350350
*/
351351
disposeMeshes( meshesToRemove ) {
352352

@@ -419,7 +419,7 @@ class SceneOptimizer {
419419
reductionRatio: ( ( 1 - totalFinalMeshes / totalOriginalMeshes ) * 100 ).toFixed( 1 ),
420420
};
421421

422-
this.logDebugInfo( stats );
422+
this._logDebugInfo( stats );
423423

424424
}
425425

0 commit comments

Comments
 (0)