Skip to content

Commit 7a21630

Browse files
authored
Merge pull request #17421 from Carnaux/patch-2
Update OBJLoader2.html
2 parents 656cc03 + caca0a2 commit 7a21630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/en/loaders/OBJLoader2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ <h2>Examples</h2>
2525
var loader = new THREE.OBJLoader2();
2626

2727
// function called on successful load
28-
var callbackOnLoad = function ( event ) {
29-
scene.add( event.detail.loaderRootNode );
28+
var callbackOnLoad = function ( object3d ) {
29+
scene.add( object3d );
3030
};
3131

3232
// load a resource from provided URL synchronously

0 commit comments

Comments
 (0)