← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] 3d-viewer: Fix grid update by calling CreateDrawGL_List

 

Le 18/06/2015 23:10, Martin d'Allens a écrit :
> Hi all,
> 
> Changing the grid size in the 3D viewer currently hides the grid until
> some other display parameter is toggled. The reason is that the grid
> should be explicitely rebuilt by calling CreateDrawGL_List(). The
> attached patch should fix this.
> 
> The grid has two other unfixed glitches, visible in the attached screenshots:
> 1/ There is a rounding error somewhere that causes on extra line on both sides.
> 2/ Each 5 grid lines is drawn with a light color (gridcolor_marker),
> but only when you look from one direction. Some kind of backface
> culling prevents the light color from taking effect the other way.
> 
> Martin
> 

Patch committed. Thanks.


-- 
Jean-Pierre CHARRAS


References