mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 16:29:02 +08:00
Fix of "When exporting plate as STL Files are saved as 1KB and corrupted #1536"
This is a regression issue, and it only happened when exporting the plater.
This commit is contained in:
parent
4227499534
commit
c4d5c7cefd
@ -3045,7 +3045,7 @@ void Plater::export_stl(bool selection_only)
|
|||||||
if (obj_idx == -1) { return; }
|
if (obj_idx == -1) { return; }
|
||||||
mesh = p->model.objects[obj_idx]->mesh();
|
mesh = p->model.objects[obj_idx]->mesh();
|
||||||
} else {
|
} else {
|
||||||
auto mesh = p->model.mesh();
|
mesh = p->model.mesh();
|
||||||
}
|
}
|
||||||
|
|
||||||
Slic3r::store_stl(path_u8.c_str(), &mesh, true);
|
Slic3r::store_stl(path_u8.c_str(), &mesh, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user