mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 12:53:52 +01:00
checkpoint on constraint remove
This commit is contained in:
parent
86b5102d17
commit
3cea890cd1
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue