From 181f750618f295080521a697b61e652895bc08a7 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 21 May 2012 18:29:19 +0200 Subject: [PATCH] Invert SVG colors for DLP printing. #380 --- lib/Slic3r/Print.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 51a9450c9..68b4d4d3f 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -310,7 +310,7 @@ EOF my ($polygon, $type) = @_; printf $fh qq{ \n}, $type, (join ' ', map { join ',', map unscale $_, @$_ } @$polygon), - ($type eq 'contour' ? 'black' : 'white'); + ($type eq 'contour' ? 'white' : 'black'); }; for my $layer_id (0..$self->layer_count-1) {