mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 02:05:58 +08:00
Fix for #10850 - Problems with negative volumes when cutting the object
This commit is contained in:
parent
9116db53c0
commit
0e4691964e
@ -1893,7 +1893,7 @@ GLGizmoCut3D::PartSelection::PartSelection(const ModelObject* mo, const Transfor
|
||||
|
||||
// split to parts
|
||||
for (int id = int(volumes.size())-1; id >= 0; id--)
|
||||
if (volumes[id]->is_splittable())
|
||||
if (volumes[id]->is_splittable() && volumes[id]->is_model_part()) // we have to split just solid volumes
|
||||
volumes[id]->split(1);
|
||||
|
||||
m_parts.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user