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:
Rob Starling 2015-02-21 14:06:47 -08:00
parent d44bf38906
commit 6719afadec

View file

@ -77,7 +77,7 @@ sub repaint {
# draw grid # draw grid
$dc->SetPen($self->{grid_pen}); $dc->SetPen($self->{grid_pen});
$dc->DrawLine(map @$_, @$_) for @{$self->{grid}}; $dc->DrawLines([map $_, @$_]) for @{$self->{grid}};
# draw bed # draw bed
{ {