• lifekidyeaa's avatar
    added an option to enable/disable magnetic tracks in the general options... · 0dc3be88
    lifekidyeaa authored
    added an option to enable/disable magnetic tracks in the general options dialog of PCBnew (same as the magnetic 
    pads option.)  Haven't fixed the via issue 
    (since I don't quite understand why it is doing this, nor does it occur in 100% of the cases), but now you can just 
    turn 
    off magnetic tracks when I desire to move vias by small increments.  Magnetic tracks are on by default.  Original 
    via complaint here: 
    http://tech.groups.yahoo.com/group/kicad-devel/message/1155
    
    Also mostly gotten rid of the annoying "Unable to drag this segment: two collinear segments" error.  Now, if two 
    (or more) segments are collinear, they are merged into one equivalent segment when you try to drag them while 
    maintaining slope.  I can't imagine any cases where this would be a bad thing (and I have plenty of experience where 
    the error was not desired!).  Note I say *mostly* because there still seem to be some length=1 (e.g. 0.003mm) segments 
    at the end of valid-length segments.  I do not want to remove them because this would change the board layout, though 
    in a basically imperceptible way.  We could maybe have an option to clean & remove these minimal-length segments, but 
    I worry that they serve to connect things slightly off grid & those things on-grid; also, removal may cause DRC 
    errors. It would be good if we could avoid their creation.(?)
    
    
    0dc3be88
pcbnew.h 9.36 KB