checkpoint on constraint remove

This commit is contained in:
Val Erastov 2015-07-15 23:19:16 -07:00
parent 86b5102d17
commit 3cea890cd1

View file

@ -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) {