diff --git a/3d-viewer/3d_rendering/legacy/render_3d_legacy.cpp b/3d-viewer/3d_rendering/legacy/render_3d_legacy.cpp index 634c6a6991..4758457c85 100644 --- a/3d-viewer/3d_rendering/legacy/render_3d_legacy.cpp +++ b/3d-viewer/3d_rendering/legacy/render_3d_legacy.cpp @@ -1371,7 +1371,7 @@ void RENDER_3D_LEGACY::generate3dGrid( GRID3D_TYPE aGridType ) const SFVEC3F gridColor = m_boardAdapter.GetColor( DARKGRAY ); // Color of grid lines every 5 lines - const SFVEC3F gridColor_marker = m_boardAdapter.GetColor( LIGHTGRAY ); + const SFVEC3F gridColor_marker = m_boardAdapter.GetColor( LIGHTBLUE ); const double scale = m_boardAdapter.BiuTo3dUnits(); const GLfloat transparency = 0.35f; @@ -1414,6 +1414,9 @@ void RENDER_3D_LEGACY::generate3dGrid( GRID3D_TYPE aGridType ) double zmin = Millimeter2iu( -50 ) * scale; double zmax = Millimeter2iu( 100 ) * scale; + // Set rasterised line width (min value = 1) + glLineWidth( 1 ); + // Draw horizontal grid centered on 3D origin (center of the board) for( int ii = 0; ; ii++ ) {