Changed to binary file reading to overcome bug with not reading to end of file in Windows.

这个提交包含在:
Craig Warren
2017-11-01 14:19:11 +00:00
父节点 90c3c2c77e
当前提交 f88e3c7392

查看文件

@@ -38,7 +38,7 @@ renderview.ResetCamera()
materials = []
srcs_pml = []
rxs = []
with open(model.FileName[0], 'r') as f:
with open(model.FileName[0], 'rb') as f:
for line in f:
if line.startswith('<Material'):
line.rstrip('\n')