Invert SVG colors for DLP printing. #380

This commit is contained in:
Alessandro Ranellucci 2012-05-21 18:29:19 +02:00
parent ce6b4aeaee
commit 181f750618

View File

@ -310,7 +310,7 @@ EOF
my ($polygon, $type) = @_;
printf $fh qq{ <polygon slic3r:type="%s" points="%s" style="fill: %s" />\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) {