3D viewer: add a bit more activity messages during 3D scene building.

This commit is contained in:
jean-pierre charras 2021-07-22 16:13:27 +02:00
parent fa93c1ec65
commit e00f609bdd
2 changed files with 8 additions and 0 deletions

View File

@ -905,6 +905,10 @@ void BOARD_ADAPTER::createLayers( REPORTER* aStatusReporter )
if( !Is3dLayerEnabled( curr_layer_id ) )
continue;
if( aStatusReporter )
aStatusReporter->Report( wxString::Format(
_( "Build Tech layer %d" ), (int)curr_layer_id ) );
BVH_CONTAINER_2D *layerContainer = new BVH_CONTAINER_2D;
m_layerMap[curr_layer_id] = layerContainer;

View File

@ -555,6 +555,10 @@ void RENDER_3D_LEGACY::reload( REPORTER* aStatusReporter, REPORTER* aWarningRepo
if( !m_boardAdapter.Is3dLayerEnabled( layer_id ) )
continue;
if( aStatusReporter )
aStatusReporter->Report( wxString::Format(
_( "Load OpenGL layer %d" ), (int)layer_id ) );
const BVH_CONTAINER_2D* container2d = ii.second;
SHAPE_POLY_SET polyListSubtracted;