Skip to content

Commit 11238d5

Browse files
author
huqingjie
committed
fixbug: save mtl file StreamWriter has no close
1 parent 5a33d54 commit 11238d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SharpGLTF.Toolkit/IO/WavefrontWriter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ private static Dictionary<Material, string> _GetMaterialFileGenerator(IDictionar
163163

164164
sw.WriteLine();
165165
}
166+
sw.Close();
166167
};
167168

168169
return mmap;

0 commit comments

Comments
 (0)