浏览代码

Merge pull request #227 from jackletter/master

fixbug: save mtl file StreamWriter has no close
Vicente Penades 1 年之前
父节点
当前提交
8fc81a4f0d
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;