← Back to team overview

kicad-developers team mailing list archive

Re: PANEL_PREV_3D_B

 

On Sun, Feb 19, 2017 at 09:33:56AM +0100, jp charras wrote:
> Le 19/02/2017 à 04:25, Chris Pavlina a écrit :
> > In panel_prev_model.h, there is this line:
> > 
> > #define PANEL_PREV_3D_B PANEL_PREV_3D
> > 
> > After this, "PANEL_PREV_3D_B" is used in the code in place of
> > "PANEL_PREV_3D".
> > ...WHY?
> > 
> > Really...why??
> > 
> > I don't see any explanation for this bizarre substitution. It's
> > performed by the preprocessor, so should be exactly equivalent to just
> > writing PANEL_PREV_3D. Can someone please explain what this is and why
> > it's here?
> > 
> 
> This is a mistake.
> 
> I used it temporary during a debug session, and forgot to remove it.
> 
> It is now fixed.

Haha, okay. No offense meant, it just seemed a bit funny. Thanks for
removing it.

> 
> -- 
> Jean-Pierre CHARRAS
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References