make wireframe a global toggle

This commit is contained in:
Stewart Allen 2022-01-06 09:38:04 -05:00
commit f7d31b4ebb
4 changed files with 38 additions and 19 deletions

View file

@ -279,7 +279,7 @@ function space_init(data) {
selection.focus();
break;
case 'KeyW':
selection.wireframe({toggle:true}, {opacity:0.15});
api.wireframe({toggle:true}, {opacity:0.15});
break;
case 'KeyB':
selection.boundsBox({toggle:true});