← Back to team overview

kicad-developers team mailing list archive

Re: broken code in pcbnew/dragsegm.cpp

 

I see your changes but aren't they incomplete still? The temp flag that
gets set is either 0x01 and 0x02. The start and end points #defines are 1
<< 9 and 1<<10 which it compares against later.


You could probably simplify it to wrapper.m_TempFlags = flag & (STARTPOINT
| ENDPOINT);

References