merge in a SuperChayan change in move.c

This commit is contained in:
stefan schippers 2025-03-15 23:47:18 +01:00
parent fd65c8876d
commit d37c872a49
1 changed files with 1 additions and 3 deletions

View File

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