mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Allowed to do drilling without hollowing
This commit is contained in:
parent
6b0af43665
commit
022cc0871a
2 changed files with 50 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue