From e150b6b57b0a0dca6a65243fc4fe7933bc3998ac Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Tue, 21 Jul 2015 23:12:59 -0700 Subject: [PATCH] make only coi contraints reduciable --- web/app/sketcher/parametric.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/sketcher/parametric.js b/web/app/sketcher/parametric.js index b8db19ff..7f1d99aa 100644 --- a/web/app/sketcher/parametric.js +++ b/web/app/sketcher/parametric.js @@ -837,7 +837,7 @@ TCAD.TWO.Constraints.RR = function(arc1, arc2) { TCAD.TWO.Constraints.RR.prototype.NAME = 'RR'; TCAD.TWO.Constraints.RR.prototype.UI_NAME = 'Radius Equality'; -TCAD.TWO.Constraints.RR.prototype.reducible = true; +//TCAD.TWO.Constraints.RR.prototype.reducible = true; TCAD.TWO.Constraints.RR.prototype.getSolveData = function() { @@ -865,7 +865,7 @@ TCAD.TWO.Constraints.Vertical = function(line) { TCAD.TWO.Constraints.Vertical.prototype.NAME = 'Vertical'; TCAD.TWO.Constraints.Vertical.prototype.UI_NAME = 'Vertical'; -TCAD.TWO.Constraints.Vertical.prototype.reducible = true; +//TCAD.TWO.Constraints.Vertical.prototype.reducible = true; TCAD.TWO.Constraints.Vertical.prototype.getSolveData = function() { return [['equal', [this.line.a._x, this.line.b._x], []]]; @@ -892,7 +892,7 @@ TCAD.TWO.Constraints.Horizontal = function(line) { TCAD.TWO.Constraints.Horizontal.prototype.NAME = 'Horizontal'; TCAD.TWO.Constraints.Horizontal.prototype.UI_NAME = 'Horizontal'; -TCAD.TWO.Constraints.Horizontal.prototype.reducible = true; +//TCAD.TWO.Constraints.Horizontal.prototype.reducible = true; TCAD.TWO.Constraints.Horizontal.prototype.getSolveData = function() { return [['equal', [this.line.a._y, this.line.b._y], []]];