make wireframe a global toggle
This commit is contained in:
parent
361b53c6d1
commit
f7d31b4ebb
4 changed files with 38 additions and 19 deletions
|
|
@ -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});
|
||||
|
|
|
|||
Loading…
Reference in a new issue