kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #01064
Re: Patch: improved magnetism
> --- In kicad-devel@xxxxxxxxxxxxxxx, Werner Almesberger <werner@> wrote:
> >
> > One more small improvement (on top of my previous patches): if DRC is
> > turned off, also different nets are magnetic.
> >
> > By the way, I've written a little description of some scenarios where
> > magnetic traces make it easier to obtain tidy results:
> > http://www.almesberger.net/misc/kicad/magnet/
> >
> > - Werner
> >
> > Index: kicad-svn/pcbnew/controle.cpp
> > ===================================================================
> > --- kicad-svn.orig/pcbnew/controle.cpp
> > +++ kicad-svn/pcbnew/controle.cpp
> > @@ -279,7 +279,7 @@
> > const TRACK *curr = NULL;
> > const TRACK *via, *track;
> > int layer, layer_mask;
> > - bool sometimes = g_MagneticPadOption != capture_always;
> > + bool sometimes = g_MagneticPadOption != capture_always && Drc_On;
> >
> > curr = g_CurrentTrackSegment;
> > if (frame->GetCurItem() != curr)
> >
>
Is this patch included in the svn somewhere? I'd like to try it.
Magnus
Follow ups
References