refresh constrs list on load

This commit is contained in:
Val Erastov 2015-02-09 21:12:15 -08:00
parent f9736e349c
commit 61c42e0906
2 changed files with 2 additions and 0 deletions

View file

@ -267,6 +267,7 @@ TCAD.App2D.prototype.loadSketch = function(sketch, defaultLayer) {
var c = this.parseConstr(sketch.constraints[i], index);
this.viewer.parametricManager.system.push(c);
}
this.viewer.parametricManager.notify();
}
};

View file

@ -240,6 +240,7 @@
});
app.viewer.parametricManager.listeners.push(function() {constrList.refresh()});
constrList.refresh();
}
window.onload = function() {
setTimeout(start, 0);