Sfoglia il codice sorgente

Cleanup examples (#27050)

* Cleanup examples

See https://github.com/mrdoob/three.js/pull/26421 for explanation.

* Update webgl_morphtargets_face.html
Nathan Bierema 1 anno fa
parent
commit
df8e0f3361

+ 1 - 1
examples/webgl_modifier_edgesplit.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 );

+ 1 - 1
examples/webgl_morphtargets_face.html

@@ -95,7 +95,7 @@
 
 							gui.add( influences, value, 0, 1, 0.01 )
 								.name( key.replace( 'blendShape1.', '' ) )
-								.listen( influences );
+								.listen();
 
 						}