From 3029bf6a9a45e043ca2f4f87ecb1b4dbb6b22534 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Thu, 8 Sep 2016 19:33:19 -0700 Subject: [PATCH] fix aux bug --- web/app/sketcher/viewer2d.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/sketcher/viewer2d.js b/web/app/sketcher/viewer2d.js index 81670398..964f8f84 100644 --- a/web/app/sketcher/viewer2d.js +++ b/web/app/sketcher/viewer2d.js @@ -991,7 +991,7 @@ DragTool.prototype.mousemove = function(e) { } this.solver.updateLock(this.lockedValues); if (!e.altKey && !e.ctrlKey) { - this.solveRequest(true); + this.solveRequest(true); } else { this.obj.translate(dx, dy); } @@ -1045,7 +1045,7 @@ DragTool.prototype.solveRequest = function(rough) { DragTool.prototype.getParamsToLock = function() { var params = []; this.obj.accept(function(obj) { - if (obj._class === 'TCAD.TWO.EndPoint') { + if (obj._class === 'TCAD.TWO.EndPoint' && !obj.isAuxOrLinkedTo()) { params.push(obj._x); params.push(obj._y); }