mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 04:35:58 +08:00
SPE-2388: Fixed command 'Export Plate as STL/OBJ &Including Supports' which was exporting also non sliced objects
This commit is contained in:
parent
a91a7d6b0e
commit
aba835bc8c
@ -5570,8 +5570,10 @@ void Plater::export_stl_obj(bool extended, bool selection_only)
|
||||
|
||||
const SLAPrintObject *object = this->p->sla_print.get_print_object_by_model_object_id(mo.id());
|
||||
|
||||
if (!object || !object->get_mesh_to_print() || object->get_mesh_to_print()->empty())
|
||||
mesh = mesh_to_export_fff(mo, instance_id);
|
||||
if (!object || !object->get_mesh_to_print() || object->get_mesh_to_print()->empty()) {
|
||||
if (!extended)
|
||||
mesh = mesh_to_export_fff(mo, instance_id);
|
||||
}
|
||||
else {
|
||||
const Transform3d mesh_trafo_inv = object->trafo().inverse();
|
||||
const bool is_left_handed = object->is_left_handed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user