mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Invert SVG colors for DLP printing. #380
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user