Finalized the experimental "synchronize support layers with object layers"

feature (the support_material_synchronize_layers settings).
The feature is now enabled for the soluble supports only
(with support_material_contact_distance > 0).

Fixes https://github.com/prusa3d/Slic3r/issues/197
This commit is contained in:
bubnikv 2017-04-10 12:00:07 +02:00
parent 688fe3e2b2
commit 23be6233c8
3 changed files with 68 additions and 71 deletions

View file

@ -138,7 +138,7 @@ public:
bool has_support() const { return m_object_config->support_material.value; }
bool build_plate_only() const { return this->has_support() && m_object_config->support_material_buildplate_only.value; }
bool synchronize_layers() const { return m_object_config->support_material_synchronize_layers.value; }
bool synchronize_layers() const { return m_slicing_params.soluble_interface && m_object_config->support_material_synchronize_layers.value; }
bool has_contact_loops() const { return m_object_config->support_material_interface_contact_loops.value; }
// Generate support material for the object.