FIX: crash when raft = 1 && has wipe tower
jira: STUDIO-10265 Change-Id: I2f932b2cffad6b16075adda95ebd8c453beea753 (cherry picked from commit 27c18dca4130f872ea96dbb3b321b9dcee1f1068)
This commit is contained in:
parent
16729c9283
commit
93d98a6a69
|
@ -1244,6 +1244,7 @@ void TreeSupport::create_tree_support_layers()
|
||||||
if (m_raft_layers > 0) { //create raft layers
|
if (m_raft_layers > 0) { //create raft layers
|
||||||
coordf_t raft_print_z = 0.f;
|
coordf_t raft_print_z = 0.f;
|
||||||
coordf_t raft_slice_z = 0.f;
|
coordf_t raft_slice_z = 0.f;
|
||||||
|
if (m_slicing_params.base_raft_layers > 0)
|
||||||
{
|
{
|
||||||
// Do not add the raft contact layer, 1st layer should use first_print_layer_height
|
// Do not add the raft contact layer, 1st layer should use first_print_layer_height
|
||||||
coordf_t height = m_slicing_params.first_print_layer_height;
|
coordf_t height = m_slicing_params.first_print_layer_height;
|
||||||
|
|
Loading…
Reference in New Issue