3D-Viewer: Remove not used list

This commit is contained in:
Mario Luzeiro 2020-07-11 12:46:10 +01:00 committed by Seth Hillbrand
parent c18cab6154
commit ef7d7477d0
3 changed files with 0 additions and 13 deletions

View File

@ -455,14 +455,6 @@ void C3D_RENDER_OGL_LEGACY::reload( REPORTER* aStatusReporter, REPORTER* aWarnin
0.0f,
false );
m_ogl_disp_list_through_holes_inner = generate_holes_display_list(
m_boardAdapter.GetThroughHole_Inner().GetList(),
m_boardAdapter.GetThroughHole_Inner_poly(),
1.0f,
0.0f,
true );
m_ogl_disp_list_through_holes_vias_outer = generate_holes_display_list(
m_boardAdapter.GetThroughHole_Vias_Outer().GetList(),
m_boardAdapter.GetThroughHole_Vias_Outer_poly(),

View File

@ -62,7 +62,6 @@ C3D_RENDER_OGL_LEGACY::C3D_RENDER_OGL_LEGACY( BOARD_ADAPTER& aAdapter, CCAMERA&
m_ogl_disp_list_through_holes_outer_with_npth = NULL;
m_ogl_disp_list_through_holes_outer = NULL;
m_ogl_disp_list_through_holes_inner = NULL;
m_ogl_disp_list_through_holes_vias_outer = NULL;
//m_ogl_disp_list_through_holes_vias_inner = NULL;
m_ogl_disp_list_via = NULL;
@ -1062,9 +1061,6 @@ void C3D_RENDER_OGL_LEGACY::ogl_free_all_display_lists()
delete m_ogl_disp_list_through_holes_outer;
m_ogl_disp_list_through_holes_outer = 0;
delete m_ogl_disp_list_through_holes_inner;
m_ogl_disp_list_through_holes_inner = 0;
delete m_ogl_disp_list_through_holes_vias_outer;
m_ogl_disp_list_through_holes_vias_outer = 0;

View File

@ -81,7 +81,6 @@ private:
MAP_OGL_DISP_LISTS m_ogl_disp_lists_layers_holes_inner;
CLAYERS_OGL_DISP_LISTS* m_ogl_disp_list_board;
CLAYERS_OGL_DISP_LISTS* m_ogl_disp_list_through_holes_outer;
CLAYERS_OGL_DISP_LISTS* m_ogl_disp_list_through_holes_inner;
// User for body render
CLAYERS_OGL_DISP_LISTS* m_ogl_disp_list_through_holes_outer_with_npth;