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

2017-12-11 Thread Maciej SumiƄski
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 > m

[Kicad-developers] [PATCH] Bugfix: EDA_RECT to BOX2I generated wrong boxes

2017-12-10 Thread Andreas Buhr
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