add shift+v to make all meshes visible
This commit is contained in:
parent
575f35d18f
commit
055345346c
2 changed files with 7 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ function space_init(data) {
|
|||
case 'KeyE':
|
||||
return api.tool.clean();
|
||||
case 'KeyV':
|
||||
return selection.focus();
|
||||
return shiftKey ? selection.show() : selection.focus();
|
||||
case 'KeyN':
|
||||
return shiftKey ? estop(evt, api.tool.rename()) : api.normals();
|
||||
case 'KeyW':
|
||||
|
|
|
|||
|
|
@ -227,6 +227,12 @@ const selection = {
|
|||
|
||||
bounds() {
|
||||
return util.bounds(selected.map(s => s.object));
|
||||
},
|
||||
|
||||
show() {
|
||||
for (let m of selection.models()) {
|
||||
m.visible(true);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue