udpate readme

This commit is contained in:
Stewart Allen 2022-01-06 23:51:35 -05:00
commit fd09ab8413
3 changed files with 11 additions and 12 deletions

View file

@ -229,16 +229,15 @@ let tool = {
repair() {
for (let m of selection.models()) {
moto.client.fn.model_heal(m.id)
.then(data => {
if (data) {
m.reload(
data.vertices,
data.indices,
data.normals
);
}
});
moto.client.fn.model_heal(m.id).then(data => {
if (data) {
m.reload(
data.vertices,
data.indices,
data.normals
);
}
});
}
}
};

View file

@ -35,7 +35,7 @@ let materials = mesh.material = {
transparent: true,
shininess: 100,
specular: 0x202020,
color: 0x00ff00,
color: 0x00ee00,
opacity: 1
}),
wireframe: new THREE.MeshBasicMaterial({