diff --git a/FinModelUtility/Formats/Vrml/Vrml/src/api/VrmlParser.cs b/FinModelUtility/Formats/Vrml/Vrml/src/api/VrmlParser.cs index f34cc561c..30a1149a2 100644 --- a/FinModelUtility/Formats/Vrml/Vrml/src/api/VrmlParser.cs +++ b/FinModelUtility/Formats/Vrml/Vrml/src/api/VrmlParser.cs @@ -84,6 +84,11 @@ private static IReadOnlyList ReadChildren_( var nodes = new LinkedList(); while (!tr.Eof) { SkipWhitespace_(tr); + + if (tr.Eof) { + break; + } + if (tr.Matches(out _, [']'])) { break; }