From d37c872a496d5131fd04c571e6124e227aa5c2f2 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sat, 15 Mar 2025 23:47:18 +0100 Subject: [PATCH] merge in a SuperChayan change in move.c --- src/move.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/move.c b/src/move.c index 45fd82ca..89194b78 100644 --- a/src/move.c +++ b/src/move.c @@ -1136,13 +1136,11 @@ void move_objects(int what, int merge, double dx, double dy) else if(wire[n].sel == SELECTED2) wire[n].sel = SELECTED1; } - #if 0 - if(wire[n].sel & (SELECTED|SELECTED1)) + if((wire[n].sel & (SELECTED|SELECTED1)) && tclgetboolvar("orthogonal_wiring")) { if(xctx->manhattan_lines & 1) xctx->manhattan_lines=2; else if(xctx->manhattan_lines & 2) xctx->manhattan_lines=1; } - #endif wire[n].x1 = xctx->rx1; wire[n].y1 = xctx->ry1; if(xctx->manhattan_lines&1)