1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Bugfix: some binary STL files were not correctly parsed on Windows. #1370 1467

This commit is contained in:
Alessandro Ranellucci
2013-11-12 16:58:26 +01:00
parent 3464e646f7
commit e62ef35fbf
+3
View File
@@ -98,6 +98,9 @@ stl_count_facets(stl_file *stl, char *file)
if(chtest[i] > 127)
{
stl->stats.type = binary;
// close and reopen with binary flag (needed on Windows)
fclose(stl->fp);
stl->fp = fopen(file, "rb");
break;
}
}