1
0
mirror of https://github.com/kristov/ldraw2stl.git synced 2025-05-15 14:20:11 -07:00

Merge pull request #3 from jmerc77/patch-1

a fix for flipped faces...
This commit is contained in:
Chris Eade 2021-01-05 22:52:10 +01:00 committed by GitHub
commit 0b5d5ac780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ sub parse_sub_file_reference {
if ($det < 0) {
$invert = 1;
}
elsif ($self->{_invertnext}) {
if ($self->{_invertnext}) {
$invert = $invert ? 0 : 1;
}
$self->DEBUG('FILE: %s AFTER det[%d], invert[%d] _invertnext[%d]', $subpart_filename, $det, $invert, $self->{_invertnext});