dont allow recursive polygon placements (complete or abort before starting new)
This commit is contained in:
parent
a554ee0afa
commit
2f9d9e1755
|
|
@ -1692,7 +1692,7 @@ int rstate; /* (reduced state, without ShiftMask) */
|
|||
xctx->ui_state |= START_SYMPIN;
|
||||
break;
|
||||
}
|
||||
if(key=='p' /* && !xctx->ui_state */ && rstate==0) /* start polygon, 20171115 */
|
||||
if(key=='p' && !(xctx->ui_state & STARTPOLYGON) && rstate==0) /* start polygon */
|
||||
{
|
||||
if(xctx->semaphore >= 2) break;
|
||||
dbg(1, "callback(): start polygon\n");
|
||||
|
|
|
|||
|
|
@ -1089,7 +1089,6 @@ void select_arc(int c, int i, unsigned short select_mode, int fast)
|
|||
}
|
||||
if(xctx->arc[c][i].sel == SELECTED) set_first_sel(ARC, i, c);
|
||||
|
||||
/*if( xctx->arc[c][i].sel == (SELECTED1|SELECTED2|SELECTED3|SELECTED4)) xctx->arc[c][i].sel = SELECTED; */
|
||||
|
||||
xctx->need_reb_sel_arr=1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue