wiring up more ui components
This commit is contained in:
parent
06194a2415
commit
76d197ab31
5 changed files with 44 additions and 21 deletions
|
|
@ -143,18 +143,7 @@ function space_init(data) {
|
|||
space.view.home();
|
||||
break;
|
||||
case 'KeyF':
|
||||
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
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
api.tool.repair();
|
||||
break;
|
||||
case 'KeyT':
|
||||
space.view.top();
|
||||
|
|
|
|||
Loading…
Reference in a new issue