Skip to content

Commit

Permalink
Merge pull request #31 from fredrikt/ft-designator_fixes
Browse files Browse the repository at this point in the history
don't skip designator records even if they are hidden
  • Loading branch information
thesourcerer8 authored Oct 6, 2017
2 parents da1b3bd + a305306 commit 3593be6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions convertschema.pl
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,10 @@ (\%$$$$$)
$componentcontains{$LIBREFERENCE}{$_[0]}=1;
}


next if(defined($d{'ISHIDDEN'}) && $d{'ISHIDDEN'} eq "T");
if ($d{'RECORD'} ne '34') {
# ignore hidden records, except type 34 (designator)
next if(defined($d{'ISHIDDEN'}) && $d{'ISHIDDEN'} eq "T");
}

if(defined($OWNERPARTDISPLAYMODE) && defined($d{'OWNERINDEX'}))
{
Expand Down

0 comments on commit 3593be6

Please sign in to comment.