Remove stale TODOs.
This commit is contained in:
parent
da46a96623
commit
fef404352d
|
@ -505,7 +505,6 @@ void BOARD_ADAPTER::InitSettings( REPORTER* aStatusReporter, REPORTER* aWarningR
|
||||||
zposTop = zposBottom + m_nonCopperLayerThickness3DU;
|
zposTop = zposBottom + m_nonCopperLayerThickness3DU;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// !TODO: review
|
|
||||||
default:
|
default:
|
||||||
zposTop = zpos_copperTop_front + (layer_id - MAX_CU_LAYERS + 3.0f) * zpos_offset;
|
zposTop = zpos_copperTop_front + (layer_id - MAX_CU_LAYERS + 3.0f) * zpos_offset;
|
||||||
zposBottom = zposTop - m_nonCopperLayerThickness3DU;
|
zposBottom = zposTop - m_nonCopperLayerThickness3DU;
|
||||||
|
|
|
@ -366,13 +366,10 @@ void EDA_3D_CANVAS::DoRePaint()
|
||||||
if( !GetParent()->GetParent()->IsShownOnScreen() )
|
if( !GetParent()->GetParent()->IsShownOnScreen() )
|
||||||
return; // The parent board editor frame is no more alive
|
return; // The parent board editor frame is no more alive
|
||||||
|
|
||||||
wxString err_messages;
|
wxString err_messages;
|
||||||
|
|
||||||
// !TODO: implement error reporter
|
|
||||||
INFOBAR_REPORTER warningReporter( m_parentInfoBar );
|
INFOBAR_REPORTER warningReporter( m_parentInfoBar );
|
||||||
STATUSBAR_REPORTER activityReporter( m_parentStatusBar, EDA_3D_VIEWER_STATUSBAR::ACTIVITY );
|
STATUSBAR_REPORTER activityReporter( m_parentStatusBar, EDA_3D_VIEWER_STATUSBAR::ACTIVITY );
|
||||||
|
unsigned start_time = GetRunningMicroSecs();
|
||||||
unsigned strtime = GetRunningMicroSecs();
|
|
||||||
|
|
||||||
// "Makes the OpenGL state that is represented by the OpenGL rendering
|
// "Makes the OpenGL state that is represented by the OpenGL rendering
|
||||||
// context context current, i.e. it will be used by all subsequent OpenGL calls.
|
// context context current, i.e. it will be used by all subsequent OpenGL calls.
|
||||||
|
@ -548,7 +545,7 @@ void EDA_3D_CANVAS::DoRePaint()
|
||||||
if( m_mouse_was_moved || m_camera_is_moving )
|
if( m_mouse_was_moved || m_camera_is_moving )
|
||||||
{
|
{
|
||||||
// Calculation time in milliseconds
|
// Calculation time in milliseconds
|
||||||
const double calculation_time = (double)( GetRunningMicroSecs() - strtime) / 1e3;
|
const double calculation_time = (double)( GetRunningMicroSecs() - start_time ) / 1e3;
|
||||||
|
|
||||||
activityReporter.Report( wxString::Format( _( "Last render time %.0f ms" ),
|
activityReporter.Report( wxString::Format( _( "Last render time %.0f ms" ),
|
||||||
calculation_time ) );
|
calculation_time ) );
|
||||||
|
|
|
@ -437,7 +437,7 @@ BVHBuildNode *BVH_PBRT::recursiveBuild ( std::vector<BVHPrimitiveInfo>& primitiv
|
||||||
|
|
||||||
(*totalNodes)++;
|
(*totalNodes)++;
|
||||||
|
|
||||||
// !TODO: implement an memory Arena
|
// !TODO: implement a memory arena
|
||||||
BVHBuildNode *node = static_cast<BVHBuildNode *>( malloc( sizeof( BVHBuildNode ) ) );
|
BVHBuildNode *node = static_cast<BVHBuildNode *>( malloc( sizeof( BVHBuildNode ) ) );
|
||||||
m_nodesToFree.push_back( node );
|
m_nodesToFree.push_back( node );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue