Skip to content

Commit

Permalink
Update Utils.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
EzioHelios authored Dec 19, 2023
1 parent 1e4328f commit 20822e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Obj2Tiles/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private static IEnumerable<string> GetMtlDependencies(string mtlPath)

if (trimmedLine.StartsWith("map_Ns"))
{
dependencies.Add(trimmedLine[7..]);
dependencies.Add(trimmedLine[7..].Trim());

continue;
}
Expand Down Expand Up @@ -172,4 +172,4 @@ public static void ConvertB3dm(string objPath, string destPath)

File.WriteAllBytes(destPath, b3dm.ToBytes());
}
}
}

0 comments on commit 20822e9

Please sign in to comment.