mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-13 03:21:49 +08:00
Bugfix: binary STL export produced corrupt results on Windows. #1814
This commit is contained in:
parent
f93c34ec25
commit
d02b64b31b
@ -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