remove clone function in example

This commit is contained in:
casperlamboo 2016-05-09 11:42:23 +02:00 committed by Simon Voordouw
parent 0ec47b88e7
commit b82380fff0

View File

@ -9,7 +9,7 @@ const geometry = new THREE.TorusGeometry(20, 10, 30, 30);
const slicer = new SLICER.Slicer();
slicer.setGeometry(geometry.clone());
slicer.setGeometry(geometry);
slicer.addEventListener('finish', ({ gcode }) => {
document.getElementById('gcode').innerHTML = gcode.replace(/(?:\r\n|\r|\n)/g, '<br />');
});