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

a fix for flipped faces...

simple typo fix on line 216. funny enough, I found it accidentally.
This commit is contained in:
jmerc77 2021-01-02 13:22:16 -05:00 committed by GitHub
parent 708cca9627
commit fff3e76d36
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});