diff --git a/PartFinder/PartFinder.cs b/PartFinder/PartFinder.cs index 18f5982..dbe90fc 100644 --- a/PartFinder/PartFinder.cs +++ b/PartFinder/PartFinder.cs @@ -473,9 +473,9 @@ private List ExtractParts(string path, bool pruned) #endregion // ignore anything inside and outside parts - if (indent != partIndent) + if (indent < partIndent) { - if (wasPartBody && indent < partIndent) + if (wasPartBody) { partIndent = -1; } @@ -509,6 +509,11 @@ private List ExtractParts(string path, bool pruned) } } + if (l.StartsWith("model")) + { + int ijasdf = 0; + } + // model string resPath = null; {