We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 656cc03 + caca0a2 commit 7a21630Copy full SHA for 7a21630
docs/examples/en/loaders/OBJLoader2.html
@@ -25,8 +25,8 @@ <h2>Examples</h2>
25
var loader = new THREE.OBJLoader2();
26
27
// function called on successful load
28
- var callbackOnLoad = function ( event ) {
29
- scene.add( event.detail.loaderRootNode );
+ var callbackOnLoad = function ( object3d ) {
+ scene.add( object3d );
30
};
31
32
// load a resource from provided URL synchronously
0 commit comments