mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fixed ColorPrint current layer identification
This commit is contained in:
parent
bac021d516
commit
360133246c
6 changed files with 36 additions and 13 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue