3D-Viewer: Remove not used list
This commit is contained in:
parent
c18cab6154
commit
ef7d7477d0
|
@ -455,14 +455,6 @@ void C3D_RENDER_OGL_LEGACY::reload( REPORTER* aStatusReporter, REPORTER* aWarnin
|
||||||
0.0f,
|
0.0f,
|
||||||
false );
|
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_ogl_disp_list_through_holes_vias_outer = generate_holes_display_list(
|
||||||
m_boardAdapter.GetThroughHole_Vias_Outer().GetList(),
|
m_boardAdapter.GetThroughHole_Vias_Outer().GetList(),
|
||||||
m_boardAdapter.GetThroughHole_Vias_Outer_poly(),
|
m_boardAdapter.GetThroughHole_Vias_Outer_poly(),
|
||||||
|
|
|
@ -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_with_npth = NULL;
|
||||||
m_ogl_disp_list_through_holes_outer = 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_outer = NULL;
|
||||||
//m_ogl_disp_list_through_holes_vias_inner = NULL;
|
//m_ogl_disp_list_through_holes_vias_inner = NULL;
|
||||||
m_ogl_disp_list_via = 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;
|
delete m_ogl_disp_list_through_holes_outer;
|
||||||
m_ogl_disp_list_through_holes_outer = 0;
|
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;
|
delete m_ogl_disp_list_through_holes_vias_outer;
|
||||||
m_ogl_disp_list_through_holes_vias_outer = 0;
|
m_ogl_disp_list_through_holes_vias_outer = 0;
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,6 @@ private:
|
||||||
MAP_OGL_DISP_LISTS m_ogl_disp_lists_layers_holes_inner;
|
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_board;
|
||||||
CLAYERS_OGL_DISP_LISTS* m_ogl_disp_list_through_holes_outer;
|
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
|
// User for body render
|
||||||
CLAYERS_OGL_DISP_LISTS* m_ogl_disp_list_through_holes_outer_with_npth;
|
CLAYERS_OGL_DISP_LISTS* m_ogl_disp_list_through_holes_outer_with_npth;
|
||||||
|
|
Loading…
Reference in New Issue