1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-25 10:15:50 +00:00

Allowed to do drilling without hollowing

This commit is contained in:
Lukas Matena
2020-01-22 17:26:13 +01:00
parent 6b0af43665
commit 022cc0871a
2 changed files with 50 additions and 38 deletions
+1 -2
View File
@@ -84,8 +84,7 @@ public:
// Get the mesh that is going to be printed with all the modifications
// like hollowing and drilled holes.
const TriangleMesh & get_mesh_to_print() const {
bool is_hollowing = m_config.hollowing_enable.getBool() && m_hollowing_data;
return is_hollowing ? m_hollowing_data->hollow_mesh_with_holes : transformed_mesh();
return m_hollowing_data ? m_hollowing_data->hollow_mesh_with_holes : transformed_mesh();
}
// This will return the transformed mesh which is cached