From fff3e76d363727b41e32d4ca1af7daa65c6d8608 Mon Sep 17 00:00:00 2001 From: jmerc77 <24909068+jmerc77@users.noreply.github.com> Date: Sat, 2 Jan 2021 13:22:16 -0500 Subject: [PATCH] a fix for flipped faces... simple typo fix on line 216. funny enough, I found it accidentally. --- lib/LDraw/Parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/LDraw/Parser.pm b/lib/LDraw/Parser.pm index d81aaf4..4a3bd40 100644 --- a/lib/LDraw/Parser.pm +++ b/lib/LDraw/Parser.pm @@ -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});