mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-21 04:13:50 +00:00
FIX: crash when print by object with multi-objects
jira: none Change-Id: If69324f3a01a0f0001fb05488cb91f0f74a08071 (cherry picked from commit ec11e25b4343cabd2e8f5d7ed6423cef93d4686f)
This commit is contained in:
@@ -1519,6 +1519,9 @@ void IMSlider::correct_higher_value()
|
||||
|
||||
bool IMSlider::is_wipe_tower_layer(int tick) const
|
||||
{
|
||||
// BBS: This function is useless in BBS
|
||||
return false;
|
||||
|
||||
if (!m_is_wipe_tower || tick >= (int) m_values.size()) return false;
|
||||
if (tick == 0 || (tick == (int) m_values.size() - 1 && m_values[tick] > m_values[tick - 1])) return false;
|
||||
if ((m_values[tick - 1] == m_values[tick + 1] && m_values[tick] < m_values[tick + 1]) ||
|
||||
|
||||
Reference in New Issue
Block a user