From 6719afadec5586e00dfde30ccb07749ed5780862 Mon Sep 17 00:00:00 2001 From: Rob Starling Date: Sat, 21 Feb 2015 14:06:47 -0800 Subject: [PATCH] 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 --- lib/Slic3r/GUI/Plater/2D.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {