qa/pns: draw single segments too in the log viewer frame
This commit is contained in:
parent
2a0accd184
commit
5fd84dbacc
|
@ -245,6 +245,13 @@ void PNS_LOG_VIEWER_FRAME::drawLoggedItems( int iter )
|
|||
|
||||
break;
|
||||
}
|
||||
case SH_SEGMENT:
|
||||
{
|
||||
auto seg = static_cast<SHAPE_SEGMENT*>( sh );
|
||||
m_overlay->Line( seg->GetSeg().A, seg->GetSeg().B );
|
||||
|
||||
break;
|
||||
}
|
||||
case SH_RECT:
|
||||
{
|
||||
auto rect = static_cast<SHAPE_RECT*>( sh );
|
||||
|
|
|
@ -244,6 +244,13 @@ void PNS_LOG_VIEWER_FRAME::drawLoggedItems( int iter )
|
|||
|
||||
break;
|
||||
}
|
||||
case SH_SEGMENT:
|
||||
{
|
||||
auto seg = static_cast<SHAPE_SEGMENT*>( sh );
|
||||
m_overlay->Line( seg->GetSeg().A, seg->GetSeg().B );
|
||||
|
||||
break;
|
||||
}
|
||||
case SH_RECT:
|
||||
{
|
||||
auto rect = static_cast<SHAPE_RECT*>( sh );
|
||||
|
|
Loading…
Reference in New Issue