3d canvas: use radius, not width for circles

(cherry picked from commit e01348cccc)
This commit is contained in:
Simon Schubert 2019-07-24 14:34:05 +02:00 committed by Seth Hillbrand
parent a68a442bbb
commit 5fb41e6ecc
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ void addTextSegmToContainer( int x0, int y0, int xf, int yf, void* aData )
if( Is_segment_a_circle( start3DU, end3DU ) )
s_dstcontainer->Add( new CFILLEDCIRCLE2D( start3DU,
s_textWidth * s_biuTo3Dunits,
( s_textWidth / 2 ) * s_biuTo3Dunits,
*s_boardItem) );
else
s_dstcontainer->Add( new CROUNDSEGMENT2D( start3DU,