udpate readme
This commit is contained in:
parent
76d197ab31
commit
fd09ab8413
3 changed files with 11 additions and 12 deletions
|
|
@ -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
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ let materials = mesh.material = {
|
|||
transparent: true,
|
||||
shininess: 100,
|
||||
specular: 0x202020,
|
||||
color: 0x00ff00,
|
||||
color: 0x00ee00,
|
||||
opacity: 1
|
||||
}),
|
||||
wireframe: new THREE.MeshBasicMaterial({
|
||||
|
|
|
|||
Loading…
Reference in a new issue