diff --git a/examples/webgl_decals.html b/examples/webgl_decals.html
index bd8837eb140d9c..b41090fc8ee0ff 100644
--- a/examples/webgl_decals.html
+++ b/examples/webgl_decals.html
@@ -245,7 +245,7 @@
} );
scene.add( mesh );
- mesh.scale.set( 10, 10, 10 );
+ mesh.scale.multiplyScalar( 10 );
} );
@@ -268,7 +268,8 @@
m.renderOrder = decals.length; // give decals a fixed render order
decals.push( m );
- scene.add( m );
+
+ mesh.attach( m );
}
@@ -276,7 +277,7 @@
decals.forEach( function ( d ) {
- scene.remove( d );
+ mesh.remove( d );
} );