From 3cea890cd104c02088bab21cadfbe51295825979 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Wed, 15 Jul 2015 23:19:16 -0700 Subject: [PATCH] checkpoint on constraint remove --- web/app/sketcher/parametric.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/sketcher/parametric.js b/web/app/sketcher/parametric.js index 2c21375b..804a012c 100644 --- a/web/app/sketcher/parametric.js +++ b/web/app/sketcher/parametric.js @@ -83,6 +83,7 @@ TCAD.TWO.ParametricManager.prototype.addAll = function(constrs) { }; TCAD.TWO.ParametricManager.prototype.remove = function(constr) { + this.viewer.historyManager.checkpoint(); for (var j = 0; j < this.subSystems.length; j++) { var sub = this.subSystems[j]; for (var i = 0; i < sub.constraints.length; ++i) {