3D viewer: fix a truncation taht created PCB_TEXTs with 0 width (not visible)
Fixes #10377 https://gitlab.com/kicad/code/kicad/issues/10377
This commit is contained in:
parent
083193c3d4
commit
a6c85a9204
|
@ -59,7 +59,7 @@ void BOARD_ADAPTER::addShape( const PCB_TEXT* aText, CONTAINER_2D_BASE* aDstCont
|
|||
{
|
||||
KIGFX::GAL_DISPLAY_OPTIONS empty_opts;
|
||||
KIFONT::FONT* font = aText->GetDrawFont();
|
||||
int penWidth = aText->GetEffectiveTextPenWidth() * m_biuTo3Dunits;
|
||||
float penWidth = aText->GetEffectiveTextPenWidth() * m_biuTo3Dunits;
|
||||
|
||||
CALLBACK_GAL callback_gal( empty_opts,
|
||||
// Stroke callback
|
||||
|
|
Loading…
Reference in New Issue