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 */
|
||||
fp = fopen(file, "w");
|
||||
fp = fopen(file, "wb");
|
||||
if(fp == NULL)
|
||||
{
|
||||
error_msg = (char*)
|
||||
|
Loading…
Reference in New Issue
Block a user