Browse Source

fixbug: save mtl file StreamWriter has no close

huqingjie 1 year ago
parent
commit
11238d5153
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;