mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 17:19:04 +08:00
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
@ -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…
x
Reference in New Issue
Block a user