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
1 changed files with 1 additions and 1 deletions
|
@ -3045,7 +3045,7 @@ void Plater::export_stl(bool selection_only)
|
|||
if (obj_idx == -1) { return; }
|
||||
mesh = p->model.objects[obj_idx]->mesh();
|
||||
} else {
|
||||
auto mesh = p->model.mesh();
|
||||
mesh = p->model.mesh();
|
||||
}
|
||||
|
||||
Slic3r::store_stl(path_u8.c_str(), &mesh, true);
|
||||
|
|
Loading…
Reference in a new issue