mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 02:05:58 +08:00
Bugfix: binary STL export produced corrupt results on Windows. #1814
This commit is contained in:
parent
2d9c399d96
commit
280a1a369e
@ -249,7 +249,7 @@ stl_write_binary(stl_file *stl, const char *file, const char *label)
|
|||||||
|
|
||||||
|
|
||||||
/* Open the file */
|
/* Open the file */
|
||||||
fp = fopen(file, "w");
|
fp = fopen(file, "wb");
|
||||||
if(fp == NULL)
|
if(fp == NULL)
|
||||||
{
|
{
|
||||||
error_msg = (char*)
|
error_msg = (char*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user