fix wireframes. start to modularize color and opacity

This commit is contained in:
Stewart Allen 2020-03-09 18:28:58 -04:00
commit 36682581f0
2 changed files with 14 additions and 5 deletions

View file

@ -691,7 +691,7 @@ var gs_kiri_init = exports;
platform.layout();
break;
case cca('w'): // toggle wireframe on widgets
toggleWireframe(wireframe_color, wireframe_model_opacity);
API.view.wireframe(API.color.wireframe, API.opacity.wireframe);
break;
default:
API.event.emit('keypress', evt);