Skip to content

Commit

Permalink
repaired resource collecting (and resource list creation)
Browse files Browse the repository at this point in the history
stronger condition for rp0 list (what can be pruned and what can not)
  • Loading branch information
nablabla committed Apr 10, 2016
1 parent 6ca0799 commit 11ab43b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions PartFinder/PartFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,9 @@ private List<PartEntry> 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;
}
Expand Down Expand Up @@ -509,6 +509,11 @@ private List<PartEntry> ExtractParts(string path, bool pruned)
}
}

if (l.StartsWith("model"))
{
int ijasdf = 0;
}

// model
string resPath = null;
{
Expand Down

0 comments on commit 11ab43b

Please sign in to comment.