Merge branch 'master' of https://github.com/prusa3d/Slic3r
This commit is contained in:
commit
2ba661cb76
33 changed files with 1890 additions and 1427 deletions
src/libslic3r
|
@ -1461,6 +1461,15 @@ int ModelVolume::extruder_id() const
|
|||
return extruder_id;
|
||||
}
|
||||
|
||||
bool ModelVolume::is_splittable() const
|
||||
{
|
||||
// the call mesh.has_multiple_patches() is expensive, so cache the value to calculate it only once
|
||||
if (m_is_splittable == -1)
|
||||
m_is_splittable = (int)mesh.has_multiple_patches();
|
||||
|
||||
return m_is_splittable == 1;
|
||||
}
|
||||
|
||||
void ModelVolume::center_geometry()
|
||||
{
|
||||
#if ENABLE_VOLUMES_CENTERING_FIXES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue