Fix for compilation

Reverted variable, deleted by previous commit
This commit is contained in:
YuSanka 2023-05-26 08:46:01 +02:00
parent 60e13272bd
commit 42445ff51f

View File

@ -502,7 +502,7 @@ bool GLGizmoCut3D::render_slider_double_input(const std::string& label, float& v
constexpr float UndefMinVal = -0.1f; constexpr float UndefMinVal = -0.1f;
const float f_mm_to_in = static_cast<float>(ObjectManipulation::mm_to_in); const float f_mm_to_in = static_cast<float>(ObjectManipulation::mm_to_in);
auto render_slider = [this, f_mm_to_in] auto render_slider = [this, UndefMinVal, f_mm_to_in]
(const std::string& label, float& val, float def_val, float max_val, const wxString& tooltip) { (const std::string& label, float& val, float def_val, float max_val, const wxString& tooltip) {
float min_val = val < 0.f ? UndefMinVal : def_val; float min_val = val < 0.f ? UndefMinVal : def_val;
float value = val; float value = val;