* Cleanup examples See https://github.com/mrdoob/three.js/pull/26421 for explanation. * Update webgl_morphtargets_face.html
@@ -116,7 +116,7 @@
} );
- const gui = new GUI( { name: 'Edge split modifier parameters' } );
+ const gui = new GUI( { title: 'Edge split modifier parameters' } );
gui.add( params, 'showMap' ).onFinishChange( updateMesh );
gui.add( params, 'smoothShading' ).onFinishChange( updateMesh );
@@ -95,7 +95,7 @@
gui.add( influences, value, 0, 1, 0.01 )
.name( key.replace( 'blendShape1.', '' ) )
- .listen( influences );
+ .listen();
}