wiring up more ui components

This commit is contained in:
Stewart Allen 2022-01-06 20:22:50 -05:00
commit 76d197ab31
5 changed files with 44 additions and 21 deletions

View file

@ -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();