Browse Source

Merge pull request #227 from jackletter/master

fixbug: save mtl file StreamWriter has no close
Vicente Penades 1 year ago
parent
commit
8fc81a4f0d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/SharpGLTF.Toolkit/IO/WavefrontWriter.cs

+ 1 - 0
src/SharpGLTF.Toolkit/IO/WavefrontWriter.cs

@@ -163,6 +163,7 @@ namespace SharpGLTF.IO
 
                     sw.WriteLine();
                 }
+                sw.Close();
             };
 
             return mmap;