Fix for compilation
Reverted variable, deleted by previous commit
This commit is contained in:
parent
60e13272bd
commit
42445ff51f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user