make cli a more fully featured command line utility refs #199

This commit is contained in:
Stewart Allen 2022-02-11 11:50:34 -05:00
commit 90cf2b038e
5 changed files with 338 additions and 245 deletions

View file

@ -954,6 +954,10 @@ console.log/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
};
PRO.setWireframe = function(set, color, opacity) {
if (!(KIRI.api && KIRI.api.conf)) {
// missing api features in engine mode
return;
}
let mesh = this.mesh,
widget = this;
if (this.wire) {