Compilation fixes
This commit is contained in:
parent
af9c7c967f
commit
cafa5b26a8
2 changed files with 4 additions and 2 deletions
|
@ -882,6 +882,8 @@ public:
|
|||
float thr = scaled<float>(0.5);
|
||||
return smooth_outward(offset(offset_ex(*m_support_polygons, thr), - thr), thr);
|
||||
}
|
||||
assert(false);
|
||||
return Polygons();
|
||||
}
|
||||
|
||||
#if defined(SLIC3R_DEBUG) && ! defined(SUPPORT_USE_AGG_RASTERIZER)
|
||||
|
|
|
@ -742,9 +742,9 @@ wxString Control::get_label(int tick, LabelType label_type/* = ltHeightWithLayer
|
|||
if (label_type == ltEstimatedTime) {
|
||||
if (m_is_smart_wipe_tower) {
|
||||
size_t layer_number = get_layer_number(value);
|
||||
return layer_number == size_t(-1) ? wxEmptyString : short_and_splitted_time(get_time_dhms(m_layers_times[layer_number]));
|
||||
return layer_number == size_t(-1) ? "" : short_and_splitted_time(get_time_dhms(m_layers_times[layer_number]));
|
||||
}
|
||||
return value < m_layers_times.size() ? short_and_splitted_time(get_time_dhms(m_layers_times[value])) : wxEmptyString;
|
||||
return value < m_layers_times.size() ? short_and_splitted_time(get_time_dhms(m_layers_times[value])) : "";
|
||||
}
|
||||
wxString str = m_values.empty() ?
|
||||
wxString::Format("%.*f", 2, m_label_koef * value) :
|
||||
|
|
Loading…
Reference in a new issue