diff --git a/web/app/main2d.js b/web/app/main2d.js index 083d3bc9..ea777134 100644 --- a/web/app/main2d.js +++ b/web/app/main2d.js @@ -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(); } }; diff --git a/web/sketcher.html b/web/sketcher.html index a6474173..eee4dcd0 100644 --- a/web/sketcher.html +++ b/web/sketcher.html @@ -240,6 +240,7 @@ }); app.viewer.parametricManager.listeners.push(function() {constrList.refresh()}); + constrList.refresh(); } window.onload = function() { setTimeout(start, 0);