Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Matena <lukasmatena@seznam.cz>2020-02-13 15:49:13 +0300
committerLukas Matena <lukasmatena@seznam.cz>2020-02-13 15:49:18 +0300
commit2f3b665ac539fc6defadef70d396cef82a7ec353 (patch)
treec527766887203a2afd8774641d33ddbb029dd56d /src/slic3r/GUI/Plater.cpp
parent4a59a45d512827175bf70b4d1791f46232e747db (diff)
Fixup of 6d0cf16: Export hollowed STL
Diffstat (limited to 'src/slic3r/GUI/Plater.cpp')
-rw-r--r--src/slic3r/GUI/Plater.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp
index 72afafd32..317181887 100644
--- a/src/slic3r/GUI/Plater.cpp
+++ b/src/slic3r/GUI/Plater.cpp
@@ -4916,7 +4916,6 @@ void Plater::export_stl(bool extended, bool selection_only)
supports_mesh = object->get_mesh(slaposSupportTree);
supports_mesh.transform(mesh_trafo_inv);
}
-
const std::vector<SLAPrintObject::Instance>& obj_instances = object->instances();
for (const SLAPrintObject::Instance& obj_instance : obj_instances)
{
@@ -4948,7 +4947,7 @@ void Plater::export_stl(bool extended, bool selection_only)
}
TriangleMesh inst_object_mesh = object->get_mesh_to_print();
- inst_object_mesh.translate(0.f, 0.f, -object->get_elevation());
+ inst_object_mesh.transform(mesh_trafo_inv);
inst_object_mesh.transform(inst_transform, is_left_handed);
mesh.merge(inst_object_mesh);