← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Bugfix: EDA_RECT to BOX2I generated wrong boxes

 

Hi Andreas,

Good catch, it must have been like this since the GAL origin. I have
applied your patch to the master branch. Thank you!

Cheers,
Orson


On 12/10/2017 11:08 PM, Andreas Buhr wrote:
> Dear Kicad developers,
> 
> The "operator BOX2I() const" of EDA_RECT produced wrong boxes, usually
> much to big. It passed its end-position as second argument to the
> constructor of BOX2I. However, BOX2I expects its size as second
> argument.
> 
> This caused a dramatic performance penalty in some
> cases. Took me about a day to figure this out.
> 
> Cheers,
> Andreas
> 
> 
> 
> _______________________________________________
> 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
> 


Attachment: signature.asc
Description: OpenPGP digital signature


References