← Back to team overview

kicad-developers team mailing list archive

Re: PATCH: Fix default line widths for non-mm units in DXF import

 

On 26.05.2017 05:10, Cirilo Bernardo wrote:
Fortunately
there are not many lines that need to be changed and they all
follow the same formula.

Isn't it a good chance to wrap this formula into (inline) function? Next programmer can be not so pedant as you to find all formula occurrences solving next bug. This can make sources a little bit more clean.


--
Regards,
  Sergey A. Borshch            mailto: sb-sf@xxxxxxxxxxxxxxx
    SB ELDI ltd. Riga, Latvia


References