diff --git a/lib/Slic3r/GUI/Plater/2D.pm b/lib/Slic3r/GUI/Plater/2D.pm index bf0dcbfba..827eb2e68 100644 --- a/lib/Slic3r/GUI/Plater/2D.pm +++ b/lib/Slic3r/GUI/Plater/2D.pm @@ -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 {