populate version string in cli

This commit is contained in:
Stewart Allen 2021-08-28 09:45:56 -04:00
commit b17c09cb9a
2 changed files with 3 additions and 1 deletions

View file

@ -158,6 +158,7 @@ let moto = self.moto;
let engine = kiri.newEngine();
fetch('/web/obj/cube.stl').then(data => {
console.log({version: kiri.version});
let buf = data.arrayBuffer().buffer;
engine.parse(buf)
.then(data => {