Skip to content

Commit 0a8965b

Browse files
author
huqingjie
committed
fixbug: save obj file StreamWriter has no close
1 parent 11238d5 commit 0a8965b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SharpGLTF.Toolkit/IO/WavefrontWriter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ private void _GetGeometryContent(StreamWriter sw, IReadOnlyDictionary<Material,
231231

232232
baseVertexIndex += p.Vertices.Count;
233233
}
234+
235+
sw.Close();
234236
}
235237

236238
#endregion

0 commit comments

Comments
 (0)