annotate widget with filename, when available

This commit is contained in:
Stewart Allen 2020-07-30 10:34:12 -04:00
commit 21b0e2b9d5
4 changed files with 20 additions and 6 deletions

View file

@ -295,6 +295,7 @@
PRO.saveToCatalog = function(filename) {
let widget = this;
let time = UTIL.time();
widget.filename = filename;
KIRI.catalog.putFile(filename, this.getGeoVertices(), function(vertices) {
if (vertices && vertices.length) {
console.log("saving decimated mesh ["+vertices.length+"] time ["+(UTIL.time()-time)+"]");