mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: organic support not work with raft only
There is no raft generated when only raft enabled but no support needed.
jira: none
Change-Id: Ic0c9269e2f98038d85c9bc54e4a85f892dc5d764
(cherry picked from commit 1106ff8253
)
This commit is contained in:
parent
e8d4291e02
commit
c443951f30
1 changed files with 3 additions and 0 deletions
|
@ -3367,6 +3367,9 @@ static void generate_support_areas(Print &print, const BuildVolume &build_volume
|
||||||
bool has_raft = config.raft_layers.size() > 0;
|
bool has_raft = config.raft_layers.size() > 0;
|
||||||
num_support_layers = std::max(num_support_layers, config.raft_layers.size());
|
num_support_layers = std::max(num_support_layers, config.raft_layers.size());
|
||||||
|
|
||||||
|
if (num_support_layers == 0)
|
||||||
|
continue;
|
||||||
|
|
||||||
SupportParameters support_params(print_object);
|
SupportParameters support_params(print_object);
|
||||||
support_params.with_sheath = true;
|
support_params.with_sheath = true;
|
||||||
// Don't override the support density of tree supports, as the support density is used for raft.
|
// Don't override the support density of tree supports, as the support density is used for raft.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue