[Bugfix]: Fixed a bug where the non-persistent wire-draw mode didn't put down a new anchor-point when 'w'-key was pressed by user. This bug was introduced in the upstream-merge (commit 8ce32b7) after incorrectly adopting the upstream way of handling 'infix_interface' mode.

This commit is contained in:
Chayan Deb 2025-01-22 17:08:16 +05:30
parent dc544f81fd
commit 4c5421fdda
1 changed files with 1 additions and 0 deletions

View File

@ -2953,6 +2953,7 @@ int rstate; /* (reduced state, without ShiftMask) */
xctx->last_command = 0;
xctx->ui_state |= MENUSTART;
xctx->ui_state2 = MENUSTARTWIRE;
if(prev_state & STARTWIRE) start_wire(xctx->mousex_snap, xctx->mousey_snap);
}
break;
}