mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-18 09:29:05 -07:00
Fixed ColorPrint current layer identification
This commit is contained in:
@@ -1446,7 +1446,7 @@ void PrusaDoubleSlider::get_size(int *w, int *h)
|
||||
|
||||
double PrusaDoubleSlider::get_double_value(const SelectedSlider& selection)
|
||||
{
|
||||
if (m_values.empty())
|
||||
if (m_values.empty() || m_lower_value<0)
|
||||
return 0.0;
|
||||
if (m_values.size() <= m_higher_value) {
|
||||
correct_higher_value();
|
||||
|
||||
Reference in New Issue
Block a user