Bugfix: correctly draw circular beds in the 2D plater
Wx::DrawLine wasn't happy with a polyline, so we pass the sequence of points to Wx::DrawLines
This commit is contained in:
parent
d44bf38906
commit
6719afadec
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ sub repaint {
|
|||
|
||||
# draw grid
|
||||
$dc->SetPen($self->{grid_pen});
|
||||
$dc->DrawLine(map @$_, @$_) for @{$self->{grid}};
|
||||
$dc->DrawLines([map $_, @$_]) for @{$self->{grid}};
|
||||
|
||||
# draw bed
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue